Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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_9_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_9_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.0009173/0.0009175, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 182 kB / 16.92 MB, free: 6.922 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.418/1.418, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.421/2.421, allocations: 390.9 MB / 0.667 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.000397, allocations: 12 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.759/0.7595, allocations: 142.4 MB / 0.9557 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.196/0.9555, allocations: 166.6 MB / 1.118 GB, free: 8.195 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007327/0.9628, allocations: 4.31 MB / 1.123 GB, free: 3.871 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.9639, allocations: 19.88 kB / 1.123 GB, free: 3.852 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.9651, allocations: 302.5 kB / 1.123 GB, free: 3.555 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00359/0.9687, allocations: 1.159 MB / 1.124 GB, free: 2.391 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002216/0.971, allocations: 0.7096 MB / 1.125 GB, free: 1.684 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002956/0.9739, allocations: 2.358 MB / 1.127 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009271/0.9749, allocations: 477.6 kB / 1.127 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.9765, allocations: 0.5757 MB / 1.128 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001681/0.9782, allocations: 0.5579 MB / 1.129 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.9784, allocations: 24 kB / 1.129 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002115/0.9805, allocations: 0.9079 MB / 1.13 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004154/0.9809, allocations: 231.3 kB / 1.13 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007989/0.9817, allocations: 384 kB / 1.13 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001541/0.9833, allocations: 0.9274 MB / 1.131 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.9833, allocations: 0 / 1.131 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9833, allocations: 0 / 1.131 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.513e-05/0.9833, allocations: 0 / 1.131 GB, free: 11.24 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002141/0.9855, allocations: 0.9079 MB / 1.132 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.9855, allocations: 12.03 kB / 1.132 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.9868, allocations: 163 kB / 1.132 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009979/0.9878, allocations: 0.521 MB / 1.133 GB, free: 9.551 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.066e-05/0.9878, allocations: 37.31 kB / 1.133 GB, free: 9.512 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-05/0.9879, allocations: 52 kB / 1.133 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.9893, allocations: 0.6558 MB / 1.133 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.9893, allocations: 0 / 1.133 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-05/0.9894, allocations: 24 kB / 1.133 GB, free: 8.766 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.014e-05/0.9894, allocations: 21.31 kB / 1.133 GB, free: 8.746 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.9905, allocations: 0.5282 MB / 1.134 GB, free: 8.215 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.003815/0.9943, allocations: 2.312 MB / 1.136 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005452/0.9949, allocations: 258.8 kB / 1.136 GB, free: 5.473 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.9952, allocations: 144.7 kB / 1.136 GB, free: 5.328 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.9952, allocations: 4 kB / 1.137 GB, free: 5.324 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/0.9953, allocations: 42.56 kB / 1.137 GB, free: 5.273 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=20): time 1.854e-06/0.9953, allocations: 0 / 1.137 GB, free: 5.273 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20): time 0.001767/0.997, allocations: 0.6837 MB / 1.137 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/0.9971, allocations: 85.11 kB / 1.137 GB, free: 4.441 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007433/0.9979, allocations: 0.5574 MB / 1.138 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.898e-05/0.9979, allocations: 33.7 kB / 1.138 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002602/0.9982, allocations: 335.1 kB / 1.138 GB, free: 3.5 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.709e-05/0.9983, allocations: 67.02 kB / 1.138 GB, free: 3.434 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.159e-05/0.9984, allocations: 33.7 kB / 1.138 GB, free: 3.395 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.9985, allocations: 366.7 kB / 1.139 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.9988, allocations: 140.6 kB / 1.139 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.9991, allocations: 230.5 kB / 1.139 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005685/0.9997, allocations: 340.9 kB / 1.139 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.9997, allocations: 0 / 1.139 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009763/1.001, allocations: 0.4948 MB / 1.14 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/1.001, allocations: 12 kB / 1.14 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.001, allocations: 3.984 kB / 1.14 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003226/1.001, allocations: 93.59 kB / 1.14 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/1.001, allocations: 71.91 kB / 1.14 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002945/1.004, allocations: 3.105 MB / 1.143 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006127/1.005, allocations: 79.44 kB / 1.143 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/1.005, allocations: 8 kB / 1.143 GB, free: 14.12 MB / 0.9044 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.0003877/1.005, allocations: 217.7 kB / 1.143 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/1.006, allocations: 63.34 kB / 1.143 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/1.006, allocations: 56.5 kB / 1.143 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/1.006, allocations: 0 / 1.143 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.006, allocations: 4 kB / 1.143 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007645/1.007, allocations: 0.5383 MB / 1.144 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/1.008, allocations: 0.928 MB / 1.145 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.008, allocations: 0 / 1.145 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/1.008, allocations: 47.91 kB / 1.145 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002082/1.008, allocations: 68.75 kB / 1.145 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/1.008, allocations: 4.188 kB / 1.145 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/1.01, allocations: 1.691 MB / 1.147 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.01, allocations: 0 / 1.147 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006587/1.011, allocations: 455.2 kB / 1.147 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/1.011, allocations: 176.3 kB / 1.147 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.313e-05/1.011, allocations: 4 kB / 1.147 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004785/1.011, allocations: 33.61 kB / 1.147 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/1.012, allocations: 23.91 kB / 1.147 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.174e-05/1.012, allocations: 16 kB / 1.147 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004655/1.012, allocations: 398.8 kB / 1.148 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/1.012, allocations: 0 / 1.148 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007205/1.013, allocations: 207.6 kB / 1.148 GB, free: 8.906 MB / 0.9044 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.0004064/1.013, allocations: 154.8 kB / 1.148 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000931/1.014, allocations: 0.5322 MB / 1.149 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.014, allocations: 0 / 1.149 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003603/1.015, allocations: 275 kB / 1.149 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/1.016, allocations: 371.8 kB / 1.149 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/1.018, allocations: 1.282 MB / 1.15 GB, free: 6.234 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/1.019, allocations: 0.8976 MB / 1.151 GB, free: 5.309 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/1.019, allocations: 43.44 kB / 1.151 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of SimCode: time 4.61e-07/1.019, allocations: 0 / 1.151 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of Templates: time 0.02054/1.039, allocations: 13.34 MB / 1.164 GB, free: 8.027 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches