Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.CoupledVolumesSpecializedWaterTemperatureDependentDensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 115.5 kB / 16.42 MB, free: 5.988 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.001072/0.001072, allocations: 184.5 kB / 17.35 MB, free: 5.602 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.294/1.294, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.158/2.158, allocations: 390.3 MB / 0.6655 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.91 kB / 0.9516 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7047/0.7061, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity): time 0.0319/0.738, allocations: 31.53 MB / 1.119 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01136/0.7494, allocations: 5.329 MB / 1.125 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.751, allocations: 35.75 kB / 1.125 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.7525, allocations: 405.8 kB / 1.125 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004871/0.7575, allocations: 1.501 MB / 1.127 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002695/0.7602, allocations: 0.8409 MB / 1.127 GB, free: 9.641 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003094/0.7633, allocations: 2.155 MB / 1.129 GB, free: 8.633 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.7643, allocations: 0.6176 MB / 1.13 GB, free: 8.336 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002076/0.7664, allocations: 0.8226 MB / 1.131 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.7675, allocations: 0.545 MB / 1.131 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.7677, allocations: 60.56 kB / 1.131 GB, free: 7.707 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002764/0.7704, allocations: 1.221 MB / 1.133 GB, free: 7.262 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002954/0.7708, allocations: 171.4 kB / 1.133 GB, free: 7.164 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007043/0.7715, allocations: 390 kB / 1.133 GB, free: 6.934 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003061/0.7745, allocations: 1.514 MB / 1.135 GB, free: 6.398 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.7745, allocations: 0 / 1.135 GB, free: 6.398 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7746, allocations: 0.9688 kB / 1.135 GB, free: 6.398 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.277e-05/0.7746, allocations: 0 / 1.135 GB, free: 6.398 MB / 0.8887 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.00225/0.7769, allocations: 1.094 MB / 1.136 GB, free: 5.59 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.7769, allocations: 9.281 kB / 1.136 GB, free: 5.59 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002607/0.7795, allocations: 267.6 kB / 1.136 GB, free: 5.535 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/0.7813, allocations: 0.6998 MB / 1.137 GB, free: 5.105 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.7813, allocations: 39.25 kB / 1.137 GB, free: 5.086 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.21e-05/0.7814, allocations: 46.36 kB / 1.137 GB, free: 5.07 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.7825, allocations: 0.5241 MB / 1.137 GB, free: 4.789 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.7825, allocations: 4.562 kB / 1.137 GB, free: 4.785 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.288e-05/0.7826, allocations: 17.03 kB / 1.137 GB, free: 4.773 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.7826, allocations: 11.16 kB / 1.137 GB, free: 4.773 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007814/0.7834, allocations: 368.7 kB / 1.138 GB, free: 4.641 MB / 0.8887 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.003458/0.7868, allocations: 2.839 MB / 1.14 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005909/0.7874, allocations: 306.3 kB / 1.141 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/0.7878, allocations: 149.1 kB / 1.141 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006907/0.7885, allocations: 0.655 MB / 1.141 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.7885, allocations: 37.69 kB / 1.142 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=28): time 2.084e-06/0.7885, allocations: 0 / 1.142 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of matching and sorting (n=40): time 0.00711/0.7956, allocations: 2.095 MB / 1.144 GB, free: 256 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.7957, allocations: 81.77 kB / 1.144 GB, free: 160 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009151/0.7966, allocations: 0.5314 MB / 1.144 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.116e-05/0.7967, allocations: 39.67 kB / 1.144 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.7969, allocations: 333.3 kB / 1.145 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.7971, allocations: 134.7 kB / 1.145 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.7973, allocations: 91.62 kB / 1.145 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.7974, allocations: 364.9 kB / 1.145 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003984/0.7978, allocations: 173 kB / 1.145 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004656/0.7983, allocations: 294.4 kB / 1.146 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008371/0.7992, allocations: 476.6 kB / 1.146 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.7992, allocations: 5.25 kB / 1.146 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001937/0.8011, allocations: 0.7349 MB / 1.147 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.8011, allocations: 8.219 kB / 1.147 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.8012, allocations: 3.656 kB / 1.147 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.8022, allocations: 284.1 kB / 1.147 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.8025, allocations: 68.73 kB / 1.147 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006696/0.8092, allocations: 4.741 MB / 1.152 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.8103, allocations: 67.94 kB / 1.152 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.536e-05/0.8104, allocations: 20.69 kB / 1.152 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000604/0.811, allocations: 329.1 kB / 1.152 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004571/0.8115, allocations: 289.9 kB / 1.152 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008102/0.8123, allocations: 468.3 kB / 1.153 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.076e-06/0.8123, allocations: 1.375 kB / 1.153 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.001888/0.8142, allocations: 0.7286 MB / 1.154 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.8142, allocations: 6.719 kB / 1.154 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.8143, allocations: 4.891 kB / 1.154 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009669/0.8152, allocations: 283.2 kB / 1.154 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.8155, allocations: 64.56 kB / 1.154 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006812/0.8223, allocations: 4.739 MB / 1.158 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.8235, allocations: 61.31 kB / 1.159 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.685e-05/0.8235, allocations: 17.41 kB / 1.159 GB, free: 5.246 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002131/0.8237, allocations: 216 kB / 1.159 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.8239, allocations: 60.53 kB / 1.159 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001828/0.8258, allocations: 0.6602 MB / 1.159 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001621/0.8274, allocations: 0.7536 MB / 1.16 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.8274, allocations: 0 / 1.16 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003403/0.8277, allocations: 185.2 kB / 1.16 GB, free: 4.109 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.8279, allocations: 13.27 kB / 1.16 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.8289, allocations: 57.83 kB / 1.16 GB, free: 4.094 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.8291, allocations: 45 kB / 1.16 GB, free: 4.082 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002143/0.8312, allocations: 0.8222 MB / 1.161 GB, free: 3.668 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00141/0.8326, allocations: 0.9194 MB / 1.162 GB, free: 3.137 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003878/0.833, allocations: 202.8 kB / 1.162 GB, free: 3.062 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006404/0.8337, allocations: 392.4 kB / 1.163 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of Backend: time 4.81e-07/0.8337, allocations: 0 / 1.163 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004864/0.8386, allocations: 1.691 MB / 1.164 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of SimCode: time 0.003194/0.8418, allocations: 1.934 MB / 1.166 GB, free: 0.6797 MB / 0.9044 GB Notification: Performance of Templates: time 0.03468/0.8765, allocations: 21.01 MB / 1.187 GB, free: 6.258 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches