Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 115.2 kB / 16.42 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 183.9 kB / 17.35 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.525/2.525, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 68.11 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7287/0.7301, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02414/0.7543, allocations: 26.29 MB / 1.193 GB, free: 9.492 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.009517/0.7639, allocations: 7.134 MB / 1.2 GB, free: 2.34 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.7651, allocations: 43.75 kB / 1.2 GB, free: 2.297 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.7661, allocations: 397.4 kB / 1.2 GB, free: 1.906 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002707/0.7689, allocations: 1.155 MB / 1.201 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002411/0.7713, allocations: 0.9623 MB / 1.202 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002555/0.7739, allocations: 2.094 MB / 1.204 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007422/0.7746, allocations: 0.6138 MB / 1.205 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002276/0.7769, allocations: 0.7424 MB / 1.206 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008325/0.7777, allocations: 0.5327 MB / 1.206 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.7779, allocations: 60 kB / 1.206 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.7798, allocations: 0.8149 MB / 1.207 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002313/0.7801, allocations: 175.3 kB / 1.207 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004398/0.7805, allocations: 382.1 kB / 1.208 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002445/0.783, allocations: 1.219 MB / 1.209 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.783, allocations: 0 / 1.209 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.605e-06/0.783, allocations: 0 / 1.209 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.716e-05/0.783, allocations: 0 / 1.209 GB, free: 9.152 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001906/0.7849, allocations: 1.089 MB / 1.21 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.785, allocations: 12.03 kB / 1.21 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003483/0.7854, allocations: 88.42 kB / 1.21 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.7865, allocations: 0.738 MB / 1.211 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.7866, allocations: 32.94 kB / 1.211 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.697e-05/0.7867, allocations: 51.95 kB / 1.211 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007139/0.7874, allocations: 0.5039 MB / 1.211 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.7874, allocations: 0 / 1.211 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.418e-05/0.7875, allocations: 19.98 kB / 1.211 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/0.7875, allocations: 19.98 kB / 1.211 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004993/0.788, allocations: 323.7 kB / 1.212 GB, free: 6.16 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002506/0.7905, allocations: 2.745 MB / 1.214 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.7908, allocations: 201.4 kB / 1.215 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.791, allocations: 97.94 kB / 1.215 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002902/0.7913, allocations: 340.4 kB / 1.215 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.7913, allocations: 42.81 kB / 1.215 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=22): time 2.916e-06/0.7913, allocations: 3.984 kB / 1.215 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22): time 0.000547/0.7919, allocations: 306.5 kB / 1.215 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.7919, allocations: 59.41 kB / 1.215 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005657/0.7925, allocations: 0.5303 MB / 1.216 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.7925, allocations: 29.7 kB / 1.216 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.7928, allocations: 348.1 kB / 1.216 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.495e-05/0.7928, allocations: 87.39 kB / 1.216 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.7929, allocations: 81.59 kB / 1.216 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.7931, allocations: 358.8 kB / 1.217 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.7932, allocations: 100.8 kB / 1.217 GB, free: 492 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.7935, allocations: 241.8 kB / 1.217 GB, free: 184 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/0.7939, allocations: 336.7 kB / 1.217 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.7939, allocations: 0 / 1.217 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005559/0.7944, allocations: 391.7 kB / 1.218 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.7945, allocations: 8 kB / 1.218 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.7945, allocations: 4 kB / 1.218 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.7945, allocations: 8 kB / 1.218 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.7948, allocations: 79.83 kB / 1.218 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.7948, allocations: 8.5 kB / 1.218 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/0.7952, allocations: 51.67 kB / 1.218 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.7952, allocations: 23.98 kB / 1.218 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002902/0.7955, allocations: 236.1 kB / 1.218 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002223/0.7957, allocations: 238.6 kB / 1.218 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003587/0.7961, allocations: 330.1 kB / 1.219 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.737e-06/0.7961, allocations: 4 kB / 1.219 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005289/0.7966, allocations: 384.8 kB / 1.219 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/0.7967, allocations: 8 kB / 1.219 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.7967, allocations: 4.562 kB / 1.219 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.7967, allocations: 16 kB / 1.219 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.7969, allocations: 79.83 kB / 1.219 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.7969, allocations: 4 kB / 1.219 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.7973, allocations: 35.78 kB / 1.219 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.7973, allocations: 23.98 kB / 1.219 GB, free: 13.76 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.7974, allocations: 204.1 kB / 1.219 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.7975, allocations: 59.62 kB / 1.22 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004744/0.798, allocations: 282.5 kB / 1.22 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003403/0.7984, allocations: 387.8 kB / 1.22 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.7984, allocations: 3.938 kB / 1.22 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/0.7986, allocations: 164.6 kB / 1.22 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-05/0.7986, allocations: 4 kB / 1.22 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.799, allocations: 15.98 kB / 1.22 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.799, allocations: 15.97 kB / 1.22 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005275/0.7995, allocations: 320.6 kB / 1.221 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005908/0.8001, allocations: 0.5493 MB / 1.221 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001289/0.8003, allocations: 103.4 kB / 1.221 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003846/0.8007, allocations: 362.8 kB / 1.222 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of Backend: time 7.31e-07/0.8007, allocations: 0 / 1.222 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001549/0.8022, allocations: 0.6588 MB / 1.222 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of SimCode: time 0.002532/0.8048, allocations: 1.717 MB / 1.224 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of Templates: time 0.02244/0.8272, allocations: 13.2 MB / 1.237 GB, free: 11.77 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches