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.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.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.001737/0.001737, allocations: 108 kB / 15.61 MB, free: 152 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.001977/0.001977, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.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.416/2.416, allocations: 390.2 MB / 0.6647 GB, free: 388 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 68.03 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6979/0.6992, allocations: 140.4 MB / 0.9496 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.203/0.9022, allocations: 171.1 MB / 1.117 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00656/0.9088, allocations: 4.293 MB / 1.121 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007858/0.9097, allocations: 23.88 kB / 1.121 GB, free: 1.941 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.9107, allocations: 353.9 kB / 1.121 GB, free: 1.594 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002828/0.9136, allocations: 1.221 MB / 1.122 GB, free: 376 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.9157, allocations: 0.7837 MB / 1.123 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002063/0.9177, allocations: 1.688 MB / 1.125 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007547/0.9185, allocations: 0.5659 MB / 1.125 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.9197, allocations: 0.6654 MB / 1.126 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.9209, allocations: 0.5645 MB / 1.127 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.921, allocations: 64 kB / 1.127 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.9227, allocations: 0.7951 MB / 1.127 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000271/0.923, allocations: 271.3 kB / 1.128 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004346/0.9234, allocations: 410.3 kB / 1.128 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.9251, allocations: 1.25 MB / 1.129 GB, free: 9.312 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9251, allocations: 0 / 1.129 GB, free: 9.312 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9251, allocations: 0 / 1.129 GB, free: 9.312 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.9251, allocations: 0 / 1.129 GB, free: 9.312 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.001784/0.9269, allocations: 1.048 MB / 1.13 GB, free: 8.215 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.927, allocations: 12.03 kB / 1.13 GB, free: 8.203 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.928, allocations: 163 kB / 1.13 GB, free: 8.043 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007396/0.9288, allocations: 0.5171 MB / 1.131 GB, free: 7.484 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.9288, allocations: 45.19 kB / 1.131 GB, free: 7.438 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.187e-05/0.9289, allocations: 52 kB / 1.131 GB, free: 7.387 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.93, allocations: 0.6557 MB / 1.132 GB, free: 6.715 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.93, allocations: 3.938 kB / 1.132 GB, free: 6.711 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-05/0.9301, allocations: 20 kB / 1.132 GB, free: 6.691 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.37e-05/0.9301, allocations: 21.31 kB / 1.132 GB, free: 6.672 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008858/0.931, allocations: 0.5164 MB / 1.132 GB, free: 6.156 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.003155/0.9341, allocations: 2.316 MB / 1.134 GB, free: 3.672 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005432/0.9347, allocations: 259.6 kB / 1.135 GB, free: 3.41 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.935, allocations: 133.3 kB / 1.135 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.935, allocations: 7.938 kB / 1.135 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.9351, allocations: 42.56 kB / 1.135 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=20): time 2.294e-06/0.9351, allocations: 0 / 1.135 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20): time 0.001747/0.9368, allocations: 0.6666 MB / 1.136 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.9369, allocations: 85.11 kB / 1.136 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006602/0.9376, allocations: 0.5574 MB / 1.136 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.9376, allocations: 33.7 kB / 1.136 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.9379, allocations: 331.1 kB / 1.137 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.383e-05/0.938, allocations: 67 kB / 1.137 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.9381, allocations: 69.94 kB / 1.137 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.9383, allocations: 362.7 kB / 1.137 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002464/0.9385, allocations: 136.6 kB / 1.137 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.9388, allocations: 214.6 kB / 1.137 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005123/0.9393, allocations: 336.8 kB / 1.138 GB, free: 232 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.9394, allocations: 0 / 1.138 GB, free: 232 kB / 0.8887 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009285/0.9403, allocations: 494.9 kB / 1.138 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.9403, allocations: 11.94 kB / 1.138 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.9403, allocations: 3.984 kB / 1.138 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003316/0.9407, allocations: 97.59 kB / 1.138 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.941, allocations: 67.91 kB / 1.138 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003182/0.9442, allocations: 3.351 MB / 1.142 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004517/0.9447, allocations: 55.36 kB / 1.142 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.9447, allocations: 12 kB / 1.142 GB, free: 11.84 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.0002476/0.9449, allocations: 217.8 kB / 1.142 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.57e-05/0.945, allocations: 55.34 kB / 1.142 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.565e-05/0.9451, allocations: 56.5 kB / 1.142 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.9451, allocations: 4 kB / 1.142 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.9451, allocations: 3.938 kB / 1.142 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006932/0.9458, allocations: 0.5324 MB / 1.142 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.947, allocations: 0.9202 MB / 1.143 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.947, allocations: 0 / 1.143 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.9473, allocations: 43.91 kB / 1.143 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000193/0.9475, allocations: 64.88 kB / 1.143 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.9475, allocations: 4 kB / 1.144 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/0.9493, allocations: 1.821 MB / 1.145 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.9493, allocations: 3.938 kB / 1.145 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006257/0.9499, allocations: 437.4 kB / 1.146 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001987/0.9501, allocations: 172.5 kB / 1.146 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.865e-05/0.9502, allocations: 3.938 kB / 1.146 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004244/0.9506, allocations: 21.41 kB / 1.146 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.787e-05/0.9507, allocations: 19.97 kB / 1.146 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/0.9508, allocations: 16 kB / 1.146 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004435/0.9512, allocations: 398.8 kB / 1.146 GB, free: 6.758 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9512, allocations: 3.938 kB / 1.146 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000627/0.9519, allocations: 203.6 kB / 1.147 GB, free: 6.555 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.0004032/0.9523, allocations: 168.2 kB / 1.147 GB, free: 6.391 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009097/0.9532, allocations: 0.5441 MB / 1.147 GB, free: 5.82 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.9532, allocations: 0 / 1.147 GB, free: 5.82 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003505/0.9536, allocations: 254.6 kB / 1.147 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.9552, allocations: 375.9 kB / 1.148 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.9568, allocations: 0.9888 MB / 1.149 GB, free: 4.172 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.9573, allocations: 0.9093 MB / 1.15 GB, free: 3.234 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000417/0.9577, allocations: 108.8 kB / 1.15 GB, free: 3.125 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.448e-05/0.9578, allocations: 39.44 kB / 1.15 GB, free: 3.086 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.9578, allocations: 0 / 1.15 GB, free: 3.086 MB / 0.9044 GB Notification: Performance of Templates: time 0.02126/0.9791, allocations: 13.02 MB / 1.163 GB, free: 6.277 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches