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.001458/0.001458, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001859/0.001859, allocations: 193.3 kB / 16.14 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.359/1.359, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.605/2.605, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.91 kB / 0.8685 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7298/0.731, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1816/0.9127, allocations: 168.8 MB / 1.181 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006383/0.9191, allocations: 4.353 MB / 1.186 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008693/0.92, allocations: 19.88 kB / 1.186 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.9211, allocations: 314.4 kB / 1.186 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002972/0.9241, allocations: 1.144 MB / 1.187 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.9259, allocations: 0.7216 MB / 1.188 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002382/0.9283, allocations: 2.367 MB / 1.19 GB, free: 420 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006617/0.929, allocations: 495.1 kB / 1.191 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.9301, allocations: 0.5835 MB / 1.191 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.9313, allocations: 0.5735 MB / 1.192 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.931e-05/0.9314, allocations: 36 kB / 1.192 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001569/0.9329, allocations: 0.9157 MB / 1.193 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.9332, allocations: 239.3 kB / 1.193 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003931/0.9336, allocations: 374.3 kB / 1.193 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.9351, allocations: 1.281 MB / 1.195 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.9351, allocations: 0 / 1.195 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.442e-06/0.9351, allocations: 0 / 1.195 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.9351, allocations: 0 / 1.195 GB, free: 11.92 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.001779/0.9369, allocations: 1.033 MB / 1.196 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.9369, allocations: 8.031 kB / 1.196 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.938, allocations: 167 kB / 1.196 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008064/0.9388, allocations: 0.521 MB / 1.196 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.627e-05/0.9389, allocations: 41.31 kB / 1.196 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-05/0.9389, allocations: 51.94 kB / 1.196 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.9401, allocations: 0.6479 MB / 1.197 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.9401, allocations: 8 kB / 1.197 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.314e-05/0.9402, allocations: 20 kB / 1.197 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.609e-05/0.9402, allocations: 25.31 kB / 1.197 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009524/0.9412, allocations: 0.5164 MB / 1.197 GB, free: 8.781 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.00354/0.9447, allocations: 2.309 MB / 1.2 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005161/0.9453, allocations: 246.8 kB / 1.2 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002474/0.9455, allocations: 142.5 kB / 1.2 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.9456, allocations: 7.938 kB / 1.2 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.9456, allocations: 38.56 kB / 1.2 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.914e-06/0.9456, allocations: 0 / 1.2 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.001764/0.9474, allocations: 0.665 MB / 1.201 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.9475, allocations: 85.09 kB / 1.201 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007064/0.9482, allocations: 0.5574 MB / 1.201 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/0.9482, allocations: 33.7 kB / 1.201 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.9485, allocations: 331.1 kB / 1.202 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.484e-05/0.9486, allocations: 71 kB / 1.202 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.9487, allocations: 69.94 kB / 1.202 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.9489, allocations: 366.7 kB / 1.202 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/0.9491, allocations: 128.6 kB / 1.202 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.9495, allocations: 218.6 kB / 1.203 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005871/0.9501, allocations: 332.9 kB / 1.203 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.9501, allocations: 3.938 kB / 1.203 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009482/0.9511, allocations: 0.4946 MB / 1.203 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.9511, allocations: 8 kB / 1.203 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/0.9511, allocations: 3.938 kB / 1.203 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000316/0.9514, allocations: 93.78 kB / 1.204 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/0.9518, allocations: 75.89 kB / 1.204 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003121/0.9549, allocations: 3.114 MB / 1.207 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005842/0.9555, allocations: 67.45 kB / 1.207 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.9555, allocations: 8 kB / 1.207 GB, free: 14.72 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.0003452/0.9559, allocations: 225.7 kB / 1.207 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.956, allocations: 55.34 kB / 1.207 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.815e-05/0.9561, allocations: 52.5 kB / 1.207 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.9561, allocations: 4 kB / 1.207 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.9561, allocations: 0 / 1.207 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007461/0.9569, allocations: 0.5345 MB / 1.208 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.9582, allocations: 0.9143 MB / 1.208 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.9582, allocations: 0 / 1.208 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.9585, allocations: 43.91 kB / 1.208 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000216/0.9587, allocations: 72.86 kB / 1.209 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.9587, allocations: 3.938 kB / 1.209 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/0.9604, allocations: 1.683 MB / 1.21 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.9604, allocations: 0 / 1.21 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006568/0.9611, allocations: 443 kB / 1.211 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002387/0.9613, allocations: 164.4 kB / 1.211 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.492e-05/0.9614, allocations: 8 kB / 1.211 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004851/0.9619, allocations: 32.44 kB / 1.211 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.263e-05/0.962, allocations: 27.91 kB / 1.211 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.243e-05/0.962, allocations: 11.98 kB / 1.211 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004934/0.9625, allocations: 398.8 kB / 1.211 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2e-07/0.9625, allocations: 0 / 1.211 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007293/0.9633, allocations: 211.6 kB / 1.211 GB, free: 9.547 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.000409/0.9637, allocations: 156.8 kB / 1.212 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000977/0.9647, allocations: 0.5399 MB / 1.212 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.9647, allocations: 0 / 1.212 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000377/0.9651, allocations: 254.5 kB / 1.212 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/0.9668, allocations: 365.8 kB / 1.213 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.9685, allocations: 1.191 MB / 1.214 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005893/0.9691, allocations: 0.9093 MB / 1.215 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004616/0.9696, allocations: 112.8 kB / 1.215 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.976e-05/0.9697, allocations: 35.44 kB / 1.215 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of SimCode: time 8.01e-07/0.9697, allocations: 0 / 1.215 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of Templates: time 0.02274/0.9924, allocations: 12.38 MB / 1.227 GB, free: 9.734 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