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.001131/0.001131, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001214/0.001214, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.8848/0.8848, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.727/1.727, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 3.938 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.39e-05, allocations: 5.234 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.628/0.628, allocations: 160.6 MB / 1.158 GB, free: 15.15 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.006488/0.6345, allocations: 5.059 MB / 1.163 GB, free: 11.72 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004772/0.635, allocations: 46.25 kB / 1.163 GB, free: 11.7 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.636, allocations: 425.5 kB / 1.163 GB, free: 11.47 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.003961/0.64, allocations: 1.787 MB / 1.165 GB, free: 10.48 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.6419, allocations: 0.8419 MB / 1.166 GB, free: 10.02 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.003294/0.6452, allocations: 2.263 MB / 1.168 GB, free: 8.965 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006899/0.6459, allocations: 0.4998 MB / 1.168 GB, free: 8.715 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001678/0.6476, allocations: 1.236 MB / 1.17 GB, free: 8.164 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.6489, allocations: 0.6421 MB / 1.17 GB, free: 7.969 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.649, allocations: 75.19 kB / 1.17 GB, free: 7.969 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002043/0.6511, allocations: 1.174 MB / 1.171 GB, free: 7.527 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0003082/0.6514, allocations: 347 kB / 1.172 GB, free: 7.363 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.000353/0.6517, allocations: 337.9 kB / 1.172 GB, free: 7.223 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.002073/0.6538, allocations: 1.677 MB / 1.174 GB, free: 6.648 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.6538, allocations: 1.609 kB / 1.174 GB, free: 6.648 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6538, allocations: 0 / 1.174 GB, free: 6.648 MB / 1.026 GB Notification: Performance of Transformations before backend: time 2.275e-05/0.6538, allocations: 0 / 1.174 GB, free: 6.648 MB / 1.026 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.001543/0.6554, allocations: 1.119 MB / 1.175 GB, free: 5.891 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.6554, allocations: 10.28 kB / 1.175 GB, free: 5.891 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.6564, allocations: 280.2 kB / 1.175 GB, free: 5.824 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007965/0.6572, allocations: 0.6528 MB / 1.176 GB, free: 5.422 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/0.6573, allocations: 41.8 kB / 1.176 GB, free: 5.406 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.137e-05/0.6574, allocations: 63.69 kB / 1.176 GB, free: 5.383 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008356/0.6582, allocations: 0.7845 MB / 1.177 GB, free: 4.895 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.6582, allocations: 0 / 1.177 GB, free: 4.895 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.242e-05/0.6583, allocations: 25.34 kB / 1.177 GB, free: 4.875 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-05/0.6583, allocations: 22.42 kB / 1.177 GB, free: 4.875 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006148/0.6589, allocations: 0.4969 MB / 1.177 GB, free: 4.711 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.6608, allocations: 1.482 MB / 1.179 GB, free: 3.938 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005534/0.6613, allocations: 407 kB / 1.179 GB, free: 3.77 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.6615, allocations: 208.8 kB / 1.179 GB, free: 3.688 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.6617, allocations: 28.03 kB / 1.179 GB, free: 3.68 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.6617, allocations: 39.08 kB / 1.179 GB, free: 3.637 MB / 1.026 GB Notification: Performance of pre-optimization done (n=43): time 1.803e-06/0.6617, allocations: 0 / 1.179 GB, free: 3.637 MB / 1.026 GB Notification: Performance of matching and sorting (n=48): time 0.002053/0.6637, allocations: 1.368 MB / 1.181 GB, free: 2.945 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.6638, allocations: 61.88 kB / 1.181 GB, free: 2.879 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/0.6641, allocations: 474.8 kB / 1.181 GB, free: 2.664 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.6642, allocations: 37.23 kB / 1.181 GB, free: 2.625 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.6644, allocations: 339.5 kB / 1.181 GB, free: 2.355 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.6645, allocations: 178.8 kB / 1.182 GB, free: 2.211 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.6646, allocations: 89.88 kB / 1.182 GB, free: 2.156 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.6647, allocations: 366.3 kB / 1.182 GB, free: 1.82 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.6649, allocations: 175.5 kB / 1.182 GB, free: 1.758 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.6652, allocations: 364.7 kB / 1.183 GB, free: 1.492 MB / 1.026 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.001971/0.6672, allocations: 1.297 MB / 1.184 GB, free: 1.008 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6672, allocations: 1.125 kB / 1.184 GB, free: 1.008 MB / 1.026 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006056/0.6678, allocations: 0.5284 MB / 1.184 GB, free: 0.7695 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.6678, allocations: 6.562 kB / 1.184 GB, free: 0.7695 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6678, allocations: 1.062 kB / 1.184 GB, free: 0.7695 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.6678, allocations: 3.844 kB / 1.184 GB, free: 0.7695 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.6681, allocations: 94.31 kB / 1.184 GB, free: 0.7617 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.6681, allocations: 3.531 kB / 1.184 GB, free: 0.7617 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.6683, allocations: 18.91 kB / 1.184 GB, free: 0.7539 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.6684, allocations: 18.69 kB / 1.184 GB, free: 0.75 MB / 1.026 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.0002335/0.6686, allocations: 250.4 kB / 1.185 GB, free: 0.5664 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.332e-05/0.6687, allocations: 71.19 kB / 1.185 GB, free: 0.5273 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.399e-05/0.6687, allocations: 74.64 kB / 1.185 GB, free: 484 kB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.6688, allocations: 5.25 kB / 1.185 GB, free: 484 kB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.6688, allocations: 0 / 1.185 GB, free: 484 kB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005417/0.6693, allocations: 0.5139 MB / 1.185 GB, free: 168 kB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.6712, allocations: 1.363 MB / 1.187 GB, free: 15.36 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.6712, allocations: 4.281 kB / 1.187 GB, free: 15.36 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003048/0.6715, allocations: 111.9 kB / 1.187 GB, free: 15.36 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.6716, allocations: 9.656 kB / 1.187 GB, free: 15.36 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.6716, allocations: 20.75 kB / 1.187 GB, free: 15.34 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.6716, allocations: 10.94 kB / 1.187 GB, free: 15.34 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/0.6716, allocations: 5.375 kB / 1.187 GB, free: 15.34 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008528/0.6725, allocations: 0.9026 MB / 1.188 GB, free: 14.77 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.6726, allocations: 116.5 kB / 1.188 GB, free: 14.71 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.6727, allocations: 16.66 kB / 1.188 GB, free: 14.7 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.6729, allocations: 23.12 kB / 1.188 GB, free: 14.69 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.438e-05/0.673, allocations: 48.77 kB / 1.188 GB, free: 14.68 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.673, allocations: 25.69 kB / 1.188 GB, free: 14.67 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0002839/0.6733, allocations: 328.6 kB / 1.188 GB, free: 14.52 MB / 1.042 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6733, allocations: 0 / 1.188 GB, free: 14.52 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0005271/0.6738, allocations: 198.7 kB / 1.188 GB, free: 14.5 MB / 1.042 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.0002731/0.6741, allocations: 175.5 kB / 1.189 GB, free: 14.38 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0005678/0.6747, allocations: 423.8 kB / 1.189 GB, free: 14.24 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 6.862e-06/0.6747, allocations: 2.594 kB / 1.189 GB, free: 14.24 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002825/0.6749, allocations: 234.7 kB / 1.189 GB, free: 14.15 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.6761, allocations: 452.3 kB / 1.19 GB, free: 14.04 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.6778, allocations: 1.491 MB / 1.191 GB, free: 13.08 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.6781, allocations: 380.1 kB / 1.191 GB, free: 12.96 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.6782, allocations: 57.56 kB / 1.192 GB, free: 12.95 MB / 1.042 GB Notification: Performance of SimCode: time 7.91e-07/0.6782, allocations: 0 / 1.192 GB, free: 12.95 MB / 1.042 GB Notification: Performance of Templates: time 0.01214/0.6903, allocations: 11.4 MB / 1.203 GB, free: 8.281 MB / 1.042 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.968164121732116]