Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.001347/0.001347, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001941/0.001941, allocations: 219.7 kB / 22.26 MB, free: 5.117 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.361/1.361, allocations: 230.6 MB / 256 MB, free: 7.988 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 3.055/3.055, allocations: 0.5096 GB / 0.8147 GB, free: 17.18 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.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") [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.002013/0.002013, allocations: 73.38 kB / 1.184 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3199, allocations: 181.4 MB / 1.361 GB, free: 128 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2061/0.526, allocations: 185.8 MB / 1.543 GB, free: 5.656 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.008919/0.5349, allocations: 5.403 MB / 1.548 GB, free: 244 kB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.5359, allocations: 47.56 kB / 1.548 GB, free: 196 kB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.5373, allocations: 465.4 kB / 1.549 GB, free: 15.73 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.004275/0.5415, allocations: 1.774 MB / 1.55 GB, free: 13.95 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.002025/0.5436, allocations: 0.8418 MB / 1.551 GB, free: 13.12 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003088/0.5467, allocations: 2.281 MB / 1.553 GB, free: 10.83 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009546/0.5476, allocations: 0.5412 MB / 1.554 GB, free: 10.28 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001951/0.5496, allocations: 0.9889 MB / 1.555 GB, free: 9.289 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002521/0.5521, allocations: 0.7345 MB / 1.556 GB, free: 8.566 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002946/0.5524, allocations: 72 kB / 1.556 GB, free: 8.496 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003625/0.556, allocations: 1.496 MB / 1.557 GB, free: 6.996 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0005462/0.5565, allocations: 338.8 kB / 1.557 GB, free: 6.664 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0008317/0.5574, allocations: 469.9 kB / 1.558 GB, free: 6.203 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.002749/0.5601, allocations: 1.674 MB / 1.56 GB, free: 4.523 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5601, allocations: 3.938 kB / 1.56 GB, free: 4.52 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5601, allocations: 3.938 kB / 1.56 GB, free: 4.516 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.577e-05/0.5602, allocations: 4 kB / 1.56 GB, free: 4.512 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001774/0.5619, allocations: 1.127 MB / 1.561 GB, free: 3.348 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.562, allocations: 12.03 kB / 1.561 GB, free: 3.336 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/0.5637, allocations: 279.1 kB / 1.561 GB, free: 3.062 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.5648, allocations: 0.6422 MB / 1.562 GB, free: 2.395 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/0.5649, allocations: 45.31 kB / 1.562 GB, free: 2.348 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.743e-05/0.565, allocations: 56 kB / 1.562 GB, free: 2.293 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.566, allocations: 0.5882 MB / 1.562 GB, free: 1.699 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.566, allocations: 0 / 1.562 GB, free: 1.699 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.783e-05/0.5661, allocations: 27.94 kB / 1.562 GB, free: 1.672 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.5661, allocations: 21.31 kB / 1.562 GB, free: 1.648 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000895/0.567, allocations: 0.5009 MB / 1.563 GB, free: 1.148 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003323/0.5703, allocations: 2.492 MB / 1.565 GB, free: 14.44 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007997/0.5711, allocations: 418.8 kB / 1.566 GB, free: 14.02 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/0.5715, allocations: 200.8 kB / 1.566 GB, free: 13.82 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.5716, allocations: 31.91 kB / 1.566 GB, free: 13.79 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.5717, allocations: 38.56 kB / 1.566 GB, free: 13.75 MB / 1.264 GB Notification: Performance of pre-optimization done (n=43): time 1.593e-06/0.5717, allocations: 0 / 1.566 GB, free: 13.75 MB / 1.264 GB Notification: Performance of matching and sorting (n=48): time 0.002771/0.5744, allocations: 1.377 MB / 1.567 GB, free: 12.34 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.5745, allocations: 55.84 kB / 1.567 GB, free: 12.27 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006436/0.5751, allocations: 0.5383 MB / 1.568 GB, free: 11.72 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.5752, allocations: 41.64 kB / 1.568 GB, free: 11.67 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/0.5754, allocations: 329.1 kB / 1.568 GB, free: 11.35 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.5756, allocations: 178.4 kB / 1.568 GB, free: 11.17 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.5757, allocations: 90.16 kB / 1.568 GB, free: 11.08 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.5759, allocations: 374.7 kB / 1.569 GB, free: 10.7 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003155/0.5762, allocations: 180.9 kB / 1.569 GB, free: 10.53 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/0.5766, allocations: 252.2 kB / 1.569 GB, free: 10.25 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: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00333/0.5799, allocations: 1.289 MB / 1.57 GB, free: 8.949 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5799, allocations: 0 / 1.57 GB, free: 8.949 MB / 1.264 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008755/0.5808, allocations: 0.5346 MB / 1.571 GB, free: 8.41 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.5808, allocations: 6.188 kB / 1.571 GB, free: 8.406 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5808, allocations: 3.938 kB / 1.571 GB, free: 8.402 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.5808, allocations: 8.156 kB / 1.571 GB, free: 8.395 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.5813, allocations: 99.83 kB / 1.571 GB, free: 8.297 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.5813, allocations: 7.938 kB / 1.571 GB, free: 8.289 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005228/0.5818, allocations: 16 kB / 1.571 GB, free: 8.273 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/0.5818, allocations: 19.94 kB / 1.571 GB, free: 8.254 MB / 1.264 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * 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.00032/0.5822, allocations: 253.6 kB / 1.571 GB, free: 7.996 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.5823, allocations: 67.58 kB / 1.571 GB, free: 7.93 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.5824, allocations: 78.45 kB / 1.571 GB, free: 7.848 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.5824, allocations: 11.98 kB / 1.571 GB, free: 7.836 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.5824, allocations: 4 kB / 1.571 GB, free: 7.832 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007506/0.5832, allocations: 0.5145 MB / 1.572 GB, free: 7.285 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.5856, allocations: 1.545 MB / 1.574 GB, free: 5.625 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.5856, allocations: 8 kB / 1.574 GB, free: 5.617 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005337/0.5862, allocations: 115.8 kB / 1.574 GB, free: 5.504 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.5862, allocations: 8 kB / 1.574 GB, free: 5.496 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.612e-05/0.5862, allocations: 16 kB / 1.574 GB, free: 5.48 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.458e-06/0.5862, allocations: 12.5 kB / 1.574 GB, free: 5.469 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/0.5862, allocations: 11.94 kB / 1.574 GB, free: 5.457 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.5875, allocations: 0.9029 MB / 1.575 GB, free: 4.48 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/0.5878, allocations: 119.6 kB / 1.575 GB, free: 4.363 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.956e-05/0.5878, allocations: 19.98 kB / 1.575 GB, free: 4.344 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005025/0.5883, allocations: 22.23 kB / 1.575 GB, free: 4.324 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.374e-05/0.5884, allocations: 51.75 kB / 1.575 GB, free: 4.273 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.5885, allocations: 27.98 kB / 1.575 GB, free: 4.246 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0004557/0.5889, allocations: 394.8 kB / 1.575 GB, free: 3.863 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.5889, allocations: 4 kB / 1.575 GB, free: 3.859 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0006569/0.5896, allocations: 196 kB / 1.575 GB, free: 3.668 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.dynBal.U) * 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 (49): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003116/0.5899, allocations: 174.9 kB / 1.576 GB, free: 3.488 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0007751/0.5907, allocations: 429.5 kB / 1.576 GB, free: 3.066 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5907, allocations: 0 / 1.576 GB, free: 3.066 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0003618/0.591, allocations: 223.6 kB / 1.576 GB, free: 2.848 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/0.593, allocations: 498.5 kB / 1.577 GB, free: 2.379 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00236/0.5954, allocations: 1.578 MB / 1.578 GB, free: 0.707 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000628/0.596, allocations: 0.9851 MB / 1.579 GB, free: 15.7 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0004942/0.5965, allocations: 169.8 kB / 1.579 GB, free: 15.53 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.5967, allocations: 55.44 kB / 1.579 GB, free: 15.47 MB / 1.279 GB Notification: Performance of SimCode: time 3.21e-07/0.5967, allocations: 0 / 1.579 GB, free: 15.47 MB / 1.279 GB Notification: Performance of Templates: time 0.02528/0.6219, allocations: 15.31 MB / 1.594 GB, free: 360 kB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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: 8.910428199917078]