Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.00149/0.00149, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001658/0.001658, allocations: 217.9 kB / 23.01 MB, free: 5.125 MB / 14.72 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.339/1.339, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 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 2.939/2.939, allocations: 0.505 GB / 0.8108 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 69.97 kB / 1.178 GB, free: 16.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3039, allocations: 180.2 MB / 1.354 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2079/0.5118, allocations: 194.4 MB / 1.544 GB, free: 4.855 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.008883/0.5207, allocations: 5.731 MB / 1.549 GB, free: 15.11 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009383/0.5216, allocations: 59.5 kB / 1.55 GB, free: 15.05 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.523, allocations: 0.5981 MB / 1.55 GB, free: 14.45 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.003633/0.5267, allocations: 1.706 MB / 1.552 GB, free: 12.74 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.002952/0.5296, allocations: 1.255 MB / 1.553 GB, free: 11.5 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003063/0.5327, allocations: 2.582 MB / 1.556 GB, free: 8.902 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009379/0.5336, allocations: 0.7083 MB / 1.556 GB, free: 8.176 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.5355, allocations: 1.253 MB / 1.557 GB, free: 6.918 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/0.5371, allocations: 0.8703 MB / 1.558 GB, free: 6.051 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.5372, allocations: 100 kB / 1.558 GB, free: 5.953 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002537/0.5398, allocations: 1.606 MB / 1.56 GB, free: 4.344 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0004802/0.5403, allocations: 0.5025 MB / 1.56 GB, free: 3.84 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0006254/0.5409, allocations: 0.6183 MB / 1.561 GB, free: 3.219 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.002474/0.5434, allocations: 2.11 MB / 1.563 GB, free: 1.102 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.5434, allocations: 0 / 1.563 GB, free: 1.102 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5434, allocations: 3.938 kB / 1.563 GB, free: 1.098 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.5434, allocations: 4 kB / 1.563 GB, free: 1.094 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002174/0.5455, allocations: 1.44 MB / 1.565 GB, free: 15.62 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.5456, allocations: 12.03 kB / 1.565 GB, free: 15.61 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/0.5474, allocations: 338.9 kB / 1.565 GB, free: 15.27 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.5487, allocations: 0.7401 MB / 1.566 GB, free: 14.5 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.273e-05/0.5488, allocations: 66 kB / 1.566 GB, free: 14.44 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.5489, allocations: 91.89 kB / 1.566 GB, free: 14.35 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.5505, allocations: 1.074 MB / 1.567 GB, free: 13.23 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.5506, allocations: 0 / 1.567 GB, free: 13.23 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-05/0.5507, allocations: 36 kB / 1.567 GB, free: 13.2 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.54e-05/0.5507, allocations: 34 kB / 1.567 GB, free: 13.16 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.5522, allocations: 0.8352 MB / 1.568 GB, free: 12.33 MB / 1.264 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.005387/0.5576, allocations: 4.352 MB / 1.572 GB, free: 7.672 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005687/0.5581, allocations: 356 kB / 1.572 GB, free: 7.316 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.5584, allocations: 210 kB / 1.572 GB, free: 7.109 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.5586, allocations: 27.97 kB / 1.572 GB, free: 7.082 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/0.5586, allocations: 42.5 kB / 1.573 GB, free: 7.031 MB / 1.264 GB Notification: Performance of pre-optimization done (n=36): time 1.353e-06/0.5586, allocations: 0 / 1.573 GB, free: 7.031 MB / 1.264 GB Notification: Performance of matching and sorting (n=38): time 0.00226/0.5609, allocations: 1.27 MB / 1.574 GB, free: 5.727 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.5609, allocations: 59.16 kB / 1.574 GB, free: 5.656 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.5622, allocations: 1.001 MB / 1.575 GB, free: 4.633 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 4.64e-05/0.5622, allocations: 37.7 kB / 1.575 GB, free: 4.59 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003981/0.5626, allocations: 0.5041 MB / 1.575 GB, free: 4.082 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.5628, allocations: 142.8 kB / 1.575 GB, free: 3.941 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.5629, allocations: 126.2 kB / 1.576 GB, free: 3.812 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.5631, allocations: 334 kB / 1.576 GB, free: 3.48 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004543/0.5635, allocations: 233.2 kB / 1.576 GB, free: 3.25 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000589/0.5641, allocations: 424.4 kB / 1.577 GB, free: 2.762 MB / 1.264 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002383/0.5665, allocations: 1.15 MB / 1.578 GB, free: 1.531 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5665, allocations: 0 / 1.578 GB, free: 1.531 MB / 1.264 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001316/0.5678, allocations: 0.7698 MB / 1.578 GB, free: 0.7539 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.5678, allocations: 8 kB / 1.578 GB, free: 0.7461 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.5679, allocations: 4 kB / 1.578 GB, free: 0.7422 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.5679, allocations: 11.94 kB / 1.578 GB, free: 0.7305 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/0.5684, allocations: 139.8 kB / 1.579 GB, free: 0.5938 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.5684, allocations: 15.92 kB / 1.579 GB, free: 0.5781 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007477/0.5692, allocations: 56.23 kB / 1.579 GB, free: 0.5234 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.051e-05/0.5692, allocations: 28 kB / 1.579 GB, free: 0.4961 MB / 1.264 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003779/0.5696, allocations: 317.4 kB / 1.579 GB, free: 180 kB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.5697, allocations: 111.3 kB / 1.579 GB, free: 68 kB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.5699, allocations: 109 kB / 1.579 GB, free: 15.96 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.5699, allocations: 4 kB / 1.579 GB, free: 15.95 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.5699, allocations: 0 / 1.579 GB, free: 15.95 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006962/0.5706, allocations: 0.6713 MB / 1.58 GB, free: 15.2 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002311/0.5729, allocations: 1.555 MB / 1.581 GB, free: 13.54 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.573, allocations: 7.984 kB / 1.581 GB, free: 13.54 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000369/0.5733, allocations: 83.91 kB / 1.581 GB, free: 13.45 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.5733, allocations: 4 kB / 1.581 GB, free: 13.45 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.5734, allocations: 12 kB / 1.581 GB, free: 13.44 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.938e-06/0.5734, allocations: 15.92 kB / 1.581 GB, free: 13.42 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.5734, allocations: 7.938 kB / 1.581 GB, free: 13.41 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.5744, allocations: 0.8302 MB / 1.582 GB, free: 12.52 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003651/0.5748, allocations: 167.3 kB / 1.582 GB, free: 12.36 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.5749, allocations: 23.94 kB / 1.582 GB, free: 12.33 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006151/0.5755, allocations: 31.97 kB / 1.582 GB, free: 12.3 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.5756, allocations: 39.83 kB / 1.583 GB, free: 12.26 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.036e-05/0.5756, allocations: 31.92 kB / 1.583 GB, free: 12.23 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0009716/0.5766, allocations: 0.7116 MB / 1.583 GB, free: 11.51 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5766, allocations: 0 / 1.583 GB, free: 11.51 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0007272/0.5773, allocations: 259.9 kB / 1.584 GB, free: 11.25 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003206/0.5777, allocations: 189.1 kB / 1.584 GB, free: 11.06 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0008744/0.5785, allocations: 483.9 kB / 1.584 GB, free: 10.59 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5785, allocations: 4 kB / 1.584 GB, free: 10.58 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0002656/0.5788, allocations: 189.2 kB / 1.584 GB, free: 10.4 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002403/0.5812, allocations: 0.6124 MB / 1.585 GB, free: 9.797 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002686/0.5839, allocations: 1.946 MB / 1.587 GB, free: 7.766 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007124/0.5846, allocations: 1.095 MB / 1.588 GB, free: 6.641 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.5848, allocations: 79.42 kB / 1.588 GB, free: 6.562 MB / 1.279 GB Notification: Performance of SimCode: time 4.5e-07/0.5848, allocations: 0 / 1.588 GB, free: 6.562 MB / 1.279 GB Notification: Performance of Templates: time 0.02201/0.6068, allocations: 16.59 MB / 1.604 GB, free: 6.113 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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: 13.755619474017294]