Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.0009643/0.0009644, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.007725/0.007726, allocations: 172.7 kB / 16.27 MB, free: 6.652 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.431/1.431, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.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.648/2.648, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004279/0.000428, allocations: 11.98 kB / 0.8728 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7383/0.7388, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.21/0.9488, allocations: 166.6 MB / 1.186 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008073/0.957, allocations: 4.297 MB / 1.19 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008219/0.9578, allocations: 19.88 kB / 1.19 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.9589, allocations: 318.4 kB / 1.19 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002974/0.9618, allocations: 1.148 MB / 1.191 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002059/0.9639, allocations: 0.7206 MB / 1.192 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002717/0.9666, allocations: 2.366 MB / 1.194 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006981/0.9673, allocations: 461.7 kB / 1.195 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.9684, allocations: 0.5796 MB / 1.195 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.9696, allocations: 0.5486 MB / 1.196 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.681e-05/0.9697, allocations: 28 kB / 1.196 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.9713, allocations: 0.9118 MB / 1.197 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002875/0.9716, allocations: 231.3 kB / 1.197 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003833/0.972, allocations: 384 kB / 1.197 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001372/0.9734, allocations: 1.266 MB / 1.199 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.9734, allocations: 4 kB / 1.199 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9734, allocations: 0 / 1.199 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.9735, allocations: 4 kB / 1.199 GB, free: 11.3 MB / 0.9512 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.001622/0.9751, allocations: 0.8923 MB / 1.2 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.9751, allocations: 12.03 kB / 1.2 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009631/0.9761, allocations: 167 kB / 1.2 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007687/0.9769, allocations: 0.5249 MB / 1.2 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/0.9769, allocations: 41.31 kB / 1.2 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.402e-05/0.977, allocations: 55.94 kB / 1.2 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.9781, allocations: 0.6536 MB / 1.201 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.9781, allocations: 4 kB / 1.201 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.24e-05/0.9782, allocations: 24 kB / 1.201 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.462e-05/0.9783, allocations: 25.3 kB / 1.201 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009175/0.9792, allocations: 0.5204 MB / 1.202 GB, free: 8.289 MB / 0.9512 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.003239/0.9824, allocations: 2.305 MB / 1.204 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006529/0.9831, allocations: 266.8 kB / 1.204 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/0.9834, allocations: 144.7 kB / 1.204 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.9834, allocations: 4 kB / 1.204 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.9835, allocations: 38.56 kB / 1.204 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.913e-06/0.9835, allocations: 0 / 1.204 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.00175/0.9852, allocations: 0.6899 MB / 1.205 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.9853, allocations: 81.11 kB / 1.205 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006513/0.9859, allocations: 0.5574 MB / 1.205 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.986, allocations: 33.7 kB / 1.206 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/0.9863, allocations: 331 kB / 1.206 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.259e-05/0.9864, allocations: 71.08 kB / 1.206 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/0.9864, allocations: 37.7 kB / 1.206 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.9866, allocations: 362.7 kB / 1.206 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.9868, allocations: 136.6 kB / 1.206 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.9872, allocations: 218.6 kB / 1.207 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005522/0.9877, allocations: 348.9 kB / 1.207 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.9877, allocations: 3.938 kB / 1.207 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000894/0.9886, allocations: 0.4947 MB / 1.207 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.9887, allocations: 9.094 kB / 1.207 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.9887, allocations: 0 / 1.207 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003076/0.989, allocations: 101.6 kB / 1.208 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.9893, allocations: 71.89 kB / 1.208 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002944/0.9923, allocations: 3.111 MB / 1.211 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005911/0.9929, allocations: 59.45 kB / 1.211 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.9929, allocations: 20.06 kB / 1.211 GB, free: 14.21 MB / 0.9669 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.000326/0.9933, allocations: 213.7 kB / 1.211 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.958e-05/0.9934, allocations: 55.34 kB / 1.211 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.9935, allocations: 60.48 kB / 1.211 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.9935, allocations: 7.938 kB / 1.211 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.9935, allocations: 0 / 1.211 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007436/0.9943, allocations: 0.5514 MB / 1.212 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.9956, allocations: 0.9232 MB / 1.212 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.9956, allocations: 0 / 1.212 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.9958, allocations: 43.97 kB / 1.213 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002106/0.996, allocations: 76.73 kB / 1.213 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.996, allocations: 4 kB / 1.213 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/0.9977, allocations: 1.683 MB / 1.214 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.9977, allocations: 0 / 1.214 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006355/0.9983, allocations: 455 kB / 1.215 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.9985, allocations: 164.3 kB / 1.215 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.189e-05/0.9986, allocations: 8 kB / 1.215 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004736/0.9991, allocations: 31.97 kB / 1.215 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.533e-05/0.9992, allocations: 15.97 kB / 1.215 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.036e-05/0.9992, allocations: 23.92 kB / 1.215 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004633/0.9997, allocations: 398.8 kB / 1.215 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9997, allocations: 0 / 1.215 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000701/1, allocations: 207.6 kB / 1.215 GB, free: 8.996 MB / 0.9669 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.0004243/1.001, allocations: 163.7 kB / 1.216 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009243/1.002, allocations: 0.548 MB / 1.216 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.002, allocations: 0 / 1.216 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003715/1.002, allocations: 266.4 kB / 1.216 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/1.004, allocations: 360 kB / 1.217 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/1.006, allocations: 1.232 MB / 1.218 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/1.006, allocations: 0.9171 MB / 1.219 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004543/1.007, allocations: 108.9 kB / 1.219 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.687e-05/1.007, allocations: 39.44 kB / 1.219 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of SimCode: time 2.61e-07/1.007, allocations: 0 / 1.219 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of Templates: time 0.02262/1.029, allocations: 12.31 MB / 1.231 GB, free: 9.164 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches