Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 105.5 kB / 16.41 MB, free: 6.492 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.001477/0.001478, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.322/1.322, 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 9.1.3-maint.9.1.x/package.mo): time 2.185/2.185, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.89 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7026/0.704, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater): time 0.02342/0.7274, allocations: 23.36 MB / 1.111 GB, free: 5.035 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009245/0.7367, allocations: 6.837 MB / 1.118 GB, free: 184 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.7377, allocations: 33.25 kB / 1.118 GB, free: 168 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.7388, allocations: 334.8 kB / 1.118 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002696/0.7416, allocations: 0.9451 MB / 1.119 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002151/0.7437, allocations: 0.7637 MB / 1.12 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004624/0.7484, allocations: 3.487 MB / 1.124 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001866/0.7502, allocations: 1.321 MB / 1.125 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00292/0.7532, allocations: 1.225 MB / 1.126 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/0.7549, allocations: 0.9308 MB / 1.127 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003561/0.7553, allocations: 90.56 kB / 1.127 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002166/0.7574, allocations: 0.7764 MB / 1.128 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005061/0.758, allocations: 289 kB / 1.128 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.7592, allocations: 0.6288 MB / 1.129 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003081/0.7623, allocations: 1.903 MB / 1.131 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7623, allocations: 1.031 kB / 1.131 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7623, allocations: 0 / 1.131 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.035e-05/0.7624, allocations: 0 / 1.131 GB, free: 10.55 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003668/0.7661, allocations: 1.549 MB / 1.132 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.7661, allocations: 9.703 kB / 1.132 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006643/0.7668, allocations: 142.6 kB / 1.132 GB, free: 9.473 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/0.7695, allocations: 1.22 MB / 1.133 GB, free: 8.836 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.065e-05/0.7696, allocations: 58.23 kB / 1.133 GB, free: 8.812 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.7698, allocations: 74.47 kB / 1.133 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.7719, allocations: 1.038 MB / 1.135 GB, free: 8.348 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/0.7719, allocations: 1.219 kB / 1.135 GB, free: 8.348 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.772, allocations: 32.89 kB / 1.135 GB, free: 8.324 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.192e-05/0.7721, allocations: 25.92 kB / 1.135 GB, free: 8.32 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.7737, allocations: 0.7666 MB / 1.135 GB, free: 8.094 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.006408/0.7801, allocations: 4.634 MB / 1.14 GB, free: 4.668 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/0.7808, allocations: 395.3 kB / 1.14 GB, free: 4.535 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003672/0.7812, allocations: 264.4 kB / 1.14 GB, free: 4.453 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003774/0.7815, allocations: 428.4 kB / 1.141 GB, free: 3.977 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.7816, allocations: 51.52 kB / 1.141 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=40): time 2.565e-06/0.7816, allocations: 1.094 kB / 1.141 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of matching and sorting (n=40): time 0.00205/0.7837, allocations: 0.8599 MB / 1.142 GB, free: 3.559 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.7837, allocations: 55.47 kB / 1.142 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.7852, allocations: 0.9503 MB / 1.143 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.031e-05/0.7853, allocations: 33.88 kB / 1.143 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004261/0.7857, allocations: 0.5086 MB / 1.143 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.7859, allocations: 146.8 kB / 1.143 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.7861, allocations: 128.3 kB / 1.144 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.7862, allocations: 327.4 kB / 1.144 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/0.7866, allocations: 234 kB / 1.144 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005167/0.7871, allocations: 443.2 kB / 1.144 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000857/0.788, allocations: 0.6587 MB / 1.145 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.788, allocations: 5.094 kB / 1.145 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001508/0.7895, allocations: 0.8049 MB / 1.146 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.7895, allocations: 12.66 kB / 1.146 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.7896, allocations: 10.56 kB / 1.146 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004262/0.79, allocations: 91.86 kB / 1.146 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004101/0.7904, allocations: 112 kB / 1.146 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005738/0.791, allocations: 0.6334 MB / 1.147 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007588/0.7918, allocations: 79.03 kB / 1.147 GB, free: 484 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.87e-05/0.7918, allocations: 28.5 kB / 1.147 GB, free: 480 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008095/0.7927, allocations: 0.5678 MB / 1.147 GB, free: 252 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005134/0.7932, allocations: 433.4 kB / 1.148 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008359/0.794, allocations: 0.6646 MB / 1.148 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.749e-06/0.794, allocations: 2.812 kB / 1.148 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.00134/0.7954, allocations: 0.7853 MB / 1.149 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.7954, allocations: 7.781 kB / 1.149 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.7954, allocations: 6.25 kB / 1.149 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000166/0.7956, allocations: 62.72 kB / 1.149 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.796, allocations: 112.5 kB / 1.149 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/0.7977, allocations: 1.893 MB / 1.151 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007228/0.7984, allocations: 65.66 kB / 1.151 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/0.7985, allocations: 28 kB / 1.151 GB, free: 13.42 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002234/0.7987, allocations: 217.8 kB / 1.152 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/0.7989, allocations: 95.28 kB / 1.152 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.8001, allocations: 0.6498 MB / 1.152 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009108/0.801, allocations: 0.817 MB / 1.153 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.801, allocations: 0 / 1.153 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005207/0.8015, allocations: 246.2 kB / 1.153 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.8017, allocations: 11.36 kB / 1.153 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005584/0.8023, allocations: 34.97 kB / 1.153 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.543e-05/0.8023, allocations: 34.94 kB / 1.153 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001309/0.8037, allocations: 0.6822 MB / 1.154 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001552/0.8052, allocations: 1.005 MB / 1.155 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003441/0.8056, allocations: 234.2 kB / 1.155 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009939/0.8066, allocations: 0.6666 MB / 1.156 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of Backend: time 4.71e-07/0.8066, allocations: 0 / 1.156 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002758/0.8094, allocations: 1.148 MB / 1.157 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of SimCode: time 0.005039/0.8144, allocations: 2.811 MB / 1.16 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of Templates: time 0.0387/0.8531, allocations: 22.34 MB / 1.182 GB, free: 13.98 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches