Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001689/0.001689, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002068/0.002068, allocations: 212 kB / 22.99 MB, free: 4.957 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.207/3.207, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.00199/0.00199, allocations: 78.91 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.3001, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2015/0.5016, allocations: 160.7 MB / 1.484 GB, free: 15.7 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009001/0.5107, allocations: 5.078 MB / 1.489 GB, free: 10.61 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.5118, allocations: 47.62 kB / 1.489 GB, free: 10.57 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.513, allocations: 425.4 kB / 1.489 GB, free: 10.15 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004383/0.5174, allocations: 1.756 MB / 1.491 GB, free: 8.387 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.5195, allocations: 0.8209 MB / 1.492 GB, free: 7.57 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003103/0.5226, allocations: 2.278 MB / 1.494 GB, free: 5.285 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009164/0.5235, allocations: 0.5529 MB / 1.495 GB, free: 4.719 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001891/0.5254, allocations: 0.9928 MB / 1.496 GB, free: 3.723 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.5272, allocations: 0.7278 MB / 1.496 GB, free: 3.004 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.5274, allocations: 76 kB / 1.496 GB, free: 2.93 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002422/0.5298, allocations: 1.153 MB / 1.498 GB, free: 1.773 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003878/0.5302, allocations: 335 kB / 1.498 GB, free: 1.445 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004873/0.5307, allocations: 394.2 kB / 1.498 GB, free: 1.059 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002447/0.5331, allocations: 1.628 MB / 1.5 GB, free: 15.43 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5331, allocations: 0 / 1.5 GB, free: 15.43 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5331, allocations: 3.938 kB / 1.5 GB, free: 15.42 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.5331, allocations: 4 kB / 1.5 GB, free: 15.42 MB / 1.201 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.001966/0.5351, allocations: 1.131 MB / 1.501 GB, free: 14.25 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.5351, allocations: 8.031 kB / 1.501 GB, free: 14.24 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/0.5371, allocations: 283.1 kB / 1.501 GB, free: 13.96 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.5384, allocations: 0.6422 MB / 1.502 GB, free: 13.29 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.399e-05/0.5384, allocations: 45.31 kB / 1.502 GB, free: 13.25 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.5385, allocations: 63.94 kB / 1.502 GB, free: 13.18 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.5398, allocations: 0.7851 MB / 1.503 GB, free: 12.35 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.5398, allocations: 4 kB / 1.503 GB, free: 12.34 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.471e-05/0.5399, allocations: 24 kB / 1.503 GB, free: 12.32 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.854e-05/0.5399, allocations: 21.31 kB / 1.503 GB, free: 12.3 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009599/0.5409, allocations: 0.497 MB / 1.503 GB, free: 11.8 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00306/0.544, allocations: 1.477 MB / 1.505 GB, free: 10.29 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008633/0.5448, allocations: 420.9 kB / 1.505 GB, free: 9.871 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/0.5452, allocations: 208.8 kB / 1.505 GB, free: 9.664 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.5453, allocations: 23.98 kB / 1.505 GB, free: 9.641 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.5454, allocations: 42.56 kB / 1.505 GB, free: 9.59 MB / 1.201 GB Notification: Performance of pre-optimization done (n=43): time 2.355e-06/0.5454, allocations: 0 / 1.505 GB, free: 9.59 MB / 1.201 GB Notification: Performance of matching and sorting (n=48): time 0.003258/0.5486, allocations: 1.377 MB / 1.507 GB, free: 8.18 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.5487, allocations: 55.84 kB / 1.507 GB, free: 8.113 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006083/0.5493, allocations: 474.9 kB / 1.507 GB, free: 7.637 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.359e-05/0.5494, allocations: 37.7 kB / 1.507 GB, free: 7.594 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/0.5497, allocations: 340.9 kB / 1.508 GB, free: 7.258 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.5499, allocations: 178.4 kB / 1.508 GB, free: 7.082 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.55, allocations: 90.14 kB / 1.508 GB, free: 6.988 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.5503, allocations: 374.7 kB / 1.508 GB, free: 6.613 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.5506, allocations: 172.9 kB / 1.508 GB, free: 6.445 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005092/0.5511, allocations: 366.9 kB / 1.509 GB, free: 6.039 MB / 1.201 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.003713/0.5548, allocations: 1.288 MB / 1.51 GB, free: 4.734 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5548, allocations: 0 / 1.51 GB, free: 4.734 MB / 1.201 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001054/0.5559, allocations: 0.5191 MB / 1.51 GB, free: 4.207 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.5559, allocations: 4 kB / 1.51 GB, free: 4.203 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.5559, allocations: 7.984 kB / 1.51 GB, free: 4.195 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.5559, allocations: 4 kB / 1.51 GB, free: 4.191 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004777/0.5564, allocations: 95.84 kB / 1.511 GB, free: 4.098 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.5564, allocations: 8.141 kB / 1.511 GB, free: 4.09 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006744/0.5571, allocations: 22.86 kB / 1.511 GB, free: 4.07 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.5571, allocations: 19.94 kB / 1.511 GB, free: 4.051 MB / 1.201 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.000427/0.5576, allocations: 246.9 kB / 1.511 GB, free: 3.801 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.5577, allocations: 63.62 kB / 1.511 GB, free: 3.738 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.5579, allocations: 77.81 kB / 1.511 GB, free: 3.66 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.5579, allocations: 7.938 kB / 1.511 GB, free: 3.652 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.5579, allocations: 0 / 1.511 GB, free: 3.652 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008408/0.5587, allocations: 0.5144 MB / 1.512 GB, free: 3.109 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002569/0.5613, allocations: 1.367 MB / 1.513 GB, free: 1.645 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.936e-06/0.5613, allocations: 4 kB / 1.513 GB, free: 1.641 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006044/0.5619, allocations: 119.8 kB / 1.513 GB, free: 1.523 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.5619, allocations: 4 kB / 1.513 GB, free: 1.52 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.839e-05/0.562, allocations: 16 kB / 1.513 GB, free: 1.504 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.562, allocations: 7.984 kB / 1.513 GB, free: 1.496 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.373e-06/0.562, allocations: 11.94 kB / 1.513 GB, free: 1.484 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.5633, allocations: 0.8991 MB / 1.514 GB, free: 0.5039 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000319/0.5637, allocations: 111.6 kB / 1.514 GB, free: 404 kB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.09e-05/0.5638, allocations: 23.98 kB / 1.514 GB, free: 380 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005582/0.5643, allocations: 21.83 kB / 1.514 GB, free: 360 kB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.847e-05/0.5644, allocations: 43.81 kB / 1.514 GB, free: 316 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.5645, allocations: 27.98 kB / 1.514 GB, free: 288 kB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004304/0.5649, allocations: 330.9 kB / 1.514 GB, free: 15.96 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.5649, allocations: 0 / 1.514 GB, free: 15.96 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007578/0.5656, allocations: 200 kB / 1.515 GB, free: 15.77 MB / 1.217 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.0003451/0.566, allocations: 189.9 kB / 1.515 GB, free: 15.57 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0009204/0.5669, allocations: 421.5 kB / 1.515 GB, free: 15.16 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5669, allocations: 8 kB / 1.515 GB, free: 15.16 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0004005/0.5673, allocations: 219.6 kB / 1.515 GB, free: 14.94 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/0.5694, allocations: 449.1 kB / 1.516 GB, free: 14.5 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.5721, allocations: 1.562 MB / 1.517 GB, free: 12.85 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.5726, allocations: 382.7 kB / 1.518 GB, free: 12.45 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0005911/0.5732, allocations: 145.3 kB / 1.518 GB, free: 12.3 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.5733, allocations: 51.44 kB / 1.518 GB, free: 12.25 MB / 1.217 GB Notification: Performance of SimCode: time 9.21e-07/0.5733, allocations: 0 / 1.518 GB, free: 12.25 MB / 1.217 GB Notification: Performance of Templates: time 0.02697/0.6003, allocations: 15.69 MB / 1.533 GB, free: 12.92 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.205653803001042]