Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002233/0.002233, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.22/3.22, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 0.8776 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.12e-05/3.355e-05, allocations: 3.406 kB / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.07655/0.07658, allocations: 45.55 MB / 0.9221 GB, free: 8.82 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.02469/0.1013, allocations: 11.85 MB / 0.9336 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003987/0.1053, allocations: 111.1 kB / 0.9338 GB, free: 12.83 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.002796/0.1081, allocations: 0.7718 MB / 0.9345 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.006488/0.1145, allocations: 1.981 MB / 0.9364 GB, free: 10.06 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.004291/0.1188, allocations: 1.409 MB / 0.9378 GB, free: 8.656 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.005765/0.1246, allocations: 3.274 MB / 0.941 GB, free: 5.375 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002168/0.1268, allocations: 0.9521 MB / 0.9419 GB, free: 4.383 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005867/0.1326, allocations: 1.94 MB / 0.9438 GB, free: 2.469 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001867/0.1345, allocations: 0.7825 MB / 0.9446 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0003569/0.1349, allocations: 99.94 kB / 0.9447 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002654/0.1375, allocations: 0.8963 MB / 0.9456 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0006647/0.1382, allocations: 314.5 kB / 0.9459 GB, free: 388 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.1393, allocations: 458.8 kB / 0.9463 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.004367/0.1437, allocations: 2.029 MB / 0.9483 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1437, allocations: 0 / 0.9483 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1437, allocations: 0 / 0.9483 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7e-05/0.1438, allocations: 4 kB / 0.9483 GB, free: 13.89 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003815/0.1476, allocations: 1.647 MB / 0.9499 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1476, allocations: 8.031 kB / 0.9499 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.1487, allocations: 295.9 kB / 0.9502 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002805/0.1515, allocations: 1.085 MB / 0.9513 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.1516, allocations: 66.38 kB / 0.9513 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.1518, allocations: 84.31 kB / 0.9514 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/0.1542, allocations: 1.137 MB / 0.9525 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.185e-05/0.1542, allocations: 7.938 kB / 0.9525 GB, free: 9.375 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.1544, allocations: 36 kB / 0.9526 GB, free: 9.34 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/0.1544, allocations: 24 kB / 0.9526 GB, free: 9.316 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/0.1562, allocations: 0.6516 MB / 0.9532 GB, free: 8.664 MB / 0.9167 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.006754/0.1629, allocations: 3.808 MB / 0.9569 GB, free: 4.73 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.1642, allocations: 382.6 kB / 0.9573 GB, free: 4.348 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005812/0.1648, allocations: 200.7 kB / 0.9575 GB, free: 4.148 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004827/0.1653, allocations: 103.9 kB / 0.9576 GB, free: 4.047 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/0.1653, allocations: 38.56 kB / 0.9576 GB, free: 4 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=29): time 2.375e-06/0.1653, allocations: 0 / 0.9576 GB, free: 4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=29): time 0.003229/0.1686, allocations: 0.8566 MB / 0.9585 GB, free: 3.125 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.1686, allocations: 55.41 kB / 0.9585 GB, free: 3.059 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.1702, allocations: 0.8674 MB / 0.9594 GB, free: 2.172 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.089e-05/0.1702, allocations: 33.7 kB / 0.9594 GB, free: 2.133 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000767/0.171, allocations: 0.5973 MB / 0.96 GB, free: 1.527 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.1712, allocations: 103.1 kB / 0.9601 GB, free: 1.426 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.1714, allocations: 110.1 kB / 0.9602 GB, free: 1.312 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002008/0.1716, allocations: 329.9 kB / 0.9605 GB, free: 0.9844 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006121/0.1722, allocations: 200.8 kB / 0.9607 GB, free: 0.7891 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009398/0.1731, allocations: 0.5477 MB / 0.9612 GB, free: 120 kB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.1746, allocations: 0.5979 MB / 0.9618 GB, free: 15.43 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.1746, allocations: 4 kB / 0.9618 GB, free: 15.43 MB / 0.9323 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002042/0.1766, allocations: 0.7651 MB / 0.9626 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.1766, allocations: 8 kB / 0.9626 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.1767, allocations: 4 kB / 0.9626 GB, free: 14.63 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007956/0.1775, allocations: 158.5 kB / 0.9627 GB, free: 14.47 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007001/0.1782, allocations: 151.8 kB / 0.9629 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.1798, allocations: 1.719 MB / 0.9645 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008398/0.1806, allocations: 79.7 kB / 0.9646 GB, free: 12.45 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-05/0.1807, allocations: 32 kB / 0.9646 GB, free: 12.41 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006273/0.1814, allocations: 273.6 kB / 0.9649 GB, free: 12.14 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003556/0.1817, allocations: 115.5 kB / 0.965 GB, free: 12.02 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/0.1838, allocations: 0.7262 MB / 0.9657 GB, free: 11.28 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/0.1839, allocations: 7.984 kB / 0.9657 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.1839, allocations: 0 / 0.9657 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1839, allocations: 0 / 0.9657 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003681/0.1875, allocations: 1.447 MB / 0.9671 GB, free: 9.766 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.1876, allocations: 0 / 0.9671 GB, free: 9.766 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005438/0.1881, allocations: 83.91 kB / 0.9672 GB, free: 9.684 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006503/0.1887, allocations: 154.5 kB / 0.9674 GB, free: 9.523 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.71e-05/0.1888, allocations: 11.98 kB / 0.9674 GB, free: 9.512 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.1903, allocations: 1.708 MB / 0.9691 GB, free: 7.727 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.1903, allocations: 4.219 kB / 0.9691 GB, free: 7.723 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/0.1922, allocations: 0.7918 MB / 0.9698 GB, free: 6.887 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005178/0.1927, allocations: 167.2 kB / 0.97 GB, free: 6.723 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/0.1929, allocations: 8 kB / 0.97 GB, free: 6.715 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006398/0.1936, allocations: 43.95 kB / 0.97 GB, free: 6.672 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.1937, allocations: 31.94 kB / 0.9701 GB, free: 6.641 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.888e-05/0.1937, allocations: 19.98 kB / 0.9701 GB, free: 6.621 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000993/0.1947, allocations: 0.5728 MB / 0.9706 GB, free: 6.039 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.1947, allocations: 0 / 0.9706 GB, free: 6.039 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001324/0.1961, allocations: 398.8 kB / 0.971 GB, free: 5.648 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009674/0.197, allocations: 398.4 kB / 0.9714 GB, free: 5.25 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001808/0.1988, allocations: 0.5437 MB / 0.9719 GB, free: 4.707 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.1988, allocations: 4 kB / 0.9719 GB, free: 4.703 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009031/0.1997, allocations: 268 kB / 0.9722 GB, free: 4.441 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/0.2019, allocations: 446.5 kB / 0.9726 GB, free: 4.016 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003935/0.2058, allocations: 1.805 MB / 0.9744 GB, free: 2.152 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007652/0.2066, allocations: 0.5167 MB / 0.9749 GB, free: 1.602 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0007123/0.2073, allocations: 166.9 kB / 0.9751 GB, free: 1.434 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.2075, allocations: 64.48 kB / 0.9751 GB, free: 1.371 MB / 0.9323 GB Notification: Performance of SimCode: time 2.355e-06/0.2075, allocations: 0 / 0.9751 GB, free: 1.371 MB / 0.9323 GB Notification: Performance of Templates: time 0.0374/0.2449, allocations: 18.56 MB / 0.9932 GB, free: 15.19 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.029454267933033]