Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001163/0.001163, allocations: 197.1 kB / 16.14 MB, free: 6.711 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.323/1.323, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.702/2.702, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001295, allocations: 65.2 kB / 0.8984 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3546, allocations: 157.4 MB / 1.052 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1773/0.5319, allocations: 168.8 MB / 1.217 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007689/0.5397, allocations: 4.357 MB / 1.221 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008722/0.5406, allocations: 19.88 kB / 1.221 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.5417, allocations: 314.5 kB / 1.222 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002896/0.5446, allocations: 1.14 MB / 1.223 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.5466, allocations: 0.7234 MB / 1.223 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002516/0.5491, allocations: 2.366 MB / 1.226 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000757/0.5498, allocations: 487.1 kB / 1.226 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.551, allocations: 0.5912 MB / 1.227 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.5523, allocations: 0.5769 MB / 1.227 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-05/0.5524, allocations: 32 kB / 1.227 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.5542, allocations: 0.9118 MB / 1.228 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002588/0.5545, allocations: 239.2 kB / 1.228 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004314/0.555, allocations: 370.2 kB / 1.229 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.5566, allocations: 1.289 MB / 1.23 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5567, allocations: 0 / 1.23 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.52e-07/0.5567, allocations: 0 / 1.23 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.5567, allocations: 0 / 1.23 GB, free: 1.98 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001985/0.5587, allocations: 1.041 MB / 1.231 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.5587, allocations: 12.03 kB / 1.231 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.5599, allocations: 155.1 kB / 1.231 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008827/0.5608, allocations: 0.5288 MB / 1.232 GB, free: 164 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.5608, allocations: 37.31 kB / 1.232 GB, free: 128 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.052e-05/0.5609, allocations: 52 kB / 1.232 GB, free: 76 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.562, allocations: 0.6518 MB / 1.232 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.5621, allocations: 0 / 1.232 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-05/0.5621, allocations: 24 kB / 1.232 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.61e-05/0.5622, allocations: 25.31 kB / 1.232 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009267/0.5631, allocations: 0.5087 MB / 1.233 GB, free: 14.85 MB / 0.9981 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.003507/0.5667, allocations: 2.305 MB / 1.235 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/0.5673, allocations: 262.8 kB / 1.235 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.5676, allocations: 135.5 kB / 1.236 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.5676, allocations: 3.938 kB / 1.236 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.5676, allocations: 42.56 kB / 1.236 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 3.006e-06/0.5677, allocations: 0 / 1.236 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.001801/0.5695, allocations: 0.6662 MB / 1.236 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.5695, allocations: 85.05 kB / 1.236 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006384/0.5702, allocations: 0.5535 MB / 1.237 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.5702, allocations: 33.7 kB / 1.237 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/0.5705, allocations: 339.1 kB / 1.237 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.975e-05/0.5706, allocations: 70.95 kB / 1.237 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.5707, allocations: 73.88 kB / 1.237 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.5709, allocations: 362.7 kB / 1.238 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.5711, allocations: 132.6 kB / 1.238 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/0.5715, allocations: 214.6 kB / 1.238 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005428/0.572, allocations: 336.3 kB / 1.238 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/0.572, allocations: 0 / 1.238 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009228/0.573, allocations: 0.503 MB / 1.239 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.573, allocations: 4 kB / 1.239 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.573, allocations: 4 kB / 1.239 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000323/0.5733, allocations: 89.66 kB / 1.239 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/0.5737, allocations: 71.89 kB / 1.239 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002977/0.5767, allocations: 3.109 MB / 1.242 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005561/0.5772, allocations: 59.56 kB / 1.242 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.5773, allocations: 16 kB / 1.242 GB, free: 4.785 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * 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 {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003255/0.5776, allocations: 213.7 kB / 1.242 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.5777, allocations: 55.34 kB / 1.242 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.5778, allocations: 64.5 kB / 1.242 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.5778, allocations: 0 / 1.242 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.5778, allocations: 0 / 1.242 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007252/0.5786, allocations: 0.5285 MB / 1.243 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.5799, allocations: 0.9184 MB / 1.244 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.5799, allocations: 4 kB / 1.244 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.5802, allocations: 43.91 kB / 1.244 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002126/0.5804, allocations: 60.81 kB / 1.244 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.5804, allocations: 16 kB / 1.244 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001658/0.5821, allocations: 1.679 MB / 1.246 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5821, allocations: 4.062 kB / 1.246 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000672/0.5828, allocations: 444.7 kB / 1.246 GB, free: 472 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.583, allocations: 172.4 kB / 1.246 GB, free: 280 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.703e-05/0.5831, allocations: 8 kB / 1.246 GB, free: 272 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004793/0.5836, allocations: 32.06 kB / 1.246 GB, free: 240 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.136e-05/0.5837, allocations: 23.97 kB / 1.246 GB, free: 216 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.113e-05/0.5837, allocations: 12 kB / 1.246 GB, free: 204 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.6017/1.185, allocations: 395.5 kB / 1.247 GB, free: 195 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.22e-07/1.185, allocations: 1.625 kB / 1.247 GB, free: 195 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001128/1.187, allocations: 207.3 kB / 1.247 GB, free: 195 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004632/1.187, allocations: 158.7 kB / 1.247 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001037/1.188, allocations: 0.52 MB / 1.248 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.188, allocations: 1.5 kB / 1.248 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000401/1.189, allocations: 262.4 kB / 1.248 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/1.191, allocations: 366.7 kB / 1.248 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/1.193, allocations: 1.188 MB / 1.249 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005144/1.193, allocations: 0.9096 MB / 1.25 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006973/1.194, allocations: 113.4 kB / 1.25 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/1.194, allocations: 37.59 kB / 1.25 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.854e-06/1.194, allocations: 1.219 kB / 1.25 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.03179/1.226, allocations: 12.38 MB / 1.262 GB, free: 192.4 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches