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.001146/0.001146, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001307/0.001307, allocations: 216.6 kB / 22.25 MB, free: 4.855 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.348/1.348, allocations: 230.6 MB / 256 MB, free: 7.797 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.045/3.045, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) [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.001987/0.001987, allocations: 65.23 kB / 1.186 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3261, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1878/0.5139, allocations: 160.7 MB / 1.52 GB, free: 12.77 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.007908/0.5218, allocations: 5.076 MB / 1.525 GB, free: 7.688 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006776/0.5225, allocations: 51.56 kB / 1.525 GB, free: 7.637 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.5235, allocations: 413.5 kB / 1.526 GB, free: 7.23 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003653/0.5272, allocations: 1.754 MB / 1.527 GB, free: 5.469 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.5289, allocations: 0.8257 MB / 1.528 GB, free: 4.648 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00245/0.5313, allocations: 2.257 MB / 1.53 GB, free: 2.391 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006964/0.532, allocations: 0.5373 MB / 1.531 GB, free: 1.84 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.5335, allocations: 0.9928 MB / 1.532 GB, free: 0.8438 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.535, allocations: 0.6934 MB / 1.533 GB, free: 160 kB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.5351, allocations: 72 kB / 1.533 GB, free: 88 kB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002005/0.5371, allocations: 1.153 MB / 1.534 GB, free: 14.93 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0003301/0.5375, allocations: 335 kB / 1.534 GB, free: 14.6 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.000407/0.5379, allocations: 382.4 kB / 1.534 GB, free: 14.23 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.5399, allocations: 1.643 MB / 1.536 GB, free: 12.58 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.5399, allocations: 0 / 1.536 GB, free: 12.58 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5399, allocations: 0 / 1.536 GB, free: 12.58 MB / 1.232 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.5399, allocations: 4 kB / 1.536 GB, free: 12.57 MB / 1.232 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.001704/0.5416, allocations: 1.132 MB / 1.537 GB, free: 11.41 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.5416, allocations: 12.02 kB / 1.537 GB, free: 11.39 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/0.5417, allocations: 102.5 kB / 1.537 GB, free: 11.29 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001627/0.5434, allocations: 279.1 kB / 1.538 GB, free: 11.01 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.5446, allocations: 0.6422 MB / 1.538 GB, free: 10.34 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.856e-05/0.5446, allocations: 45.31 kB / 1.538 GB, free: 10.3 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.5447, allocations: 60 kB / 1.538 GB, free: 10.24 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.5459, allocations: 0.7851 MB / 1.539 GB, free: 9.398 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.5459, allocations: 0 / 1.539 GB, free: 9.398 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.749e-05/0.546, allocations: 24 kB / 1.539 GB, free: 9.375 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.261e-05/0.546, allocations: 29.3 kB / 1.539 GB, free: 9.344 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009095/0.5469, allocations: 0.4931 MB / 1.54 GB, free: 8.852 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002957/0.5499, allocations: 1.59 MB / 1.541 GB, free: 7.219 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007944/0.5507, allocations: 413 kB / 1.542 GB, free: 6.809 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003468/0.551, allocations: 212.8 kB / 1.542 GB, free: 6.598 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/0.5512, allocations: 23.98 kB / 1.542 GB, free: 6.574 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.5512, allocations: 38.56 kB / 1.542 GB, free: 6.527 MB / 1.232 GB Notification: Performance of pre-optimization done (n=43): time 1.884e-06/0.5512, allocations: 0 / 1.542 GB, free: 6.527 MB / 1.232 GB Notification: Performance of matching and sorting (n=48): time 0.002783/0.554, allocations: 1.374 MB / 1.543 GB, free: 5.121 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.554, allocations: 59.84 kB / 1.543 GB, free: 5.051 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006334/0.5547, allocations: 0.5421 MB / 1.544 GB, free: 4.496 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.036e-05/0.5547, allocations: 37.7 kB / 1.544 GB, free: 4.453 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.555, allocations: 325.2 kB / 1.544 GB, free: 4.133 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.5552, allocations: 186.4 kB / 1.544 GB, free: 3.949 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.5553, allocations: 86.19 kB / 1.544 GB, free: 3.859 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.5555, allocations: 374.7 kB / 1.545 GB, free: 3.484 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.5558, allocations: 172.9 kB / 1.545 GB, free: 3.316 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004374/0.5562, allocations: 363 kB / 1.545 GB, free: 2.91 MB / 1.232 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.003211/0.5594, allocations: 1.299 MB / 1.546 GB, free: 1.602 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.5594, allocations: 0 / 1.546 GB, free: 1.602 MB / 1.232 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008583/0.5603, allocations: 0.5308 MB / 1.547 GB, free: 1.062 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.5603, allocations: 4 kB / 1.547 GB, free: 1.059 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5603, allocations: 0 / 1.547 GB, free: 1.059 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.5603, allocations: 4 kB / 1.547 GB, free: 1.055 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.5607, allocations: 99.83 kB / 1.547 GB, free: 0.957 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.5607, allocations: 4 kB / 1.547 GB, free: 0.9531 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000517/0.5613, allocations: 21.66 kB / 1.547 GB, free: 0.9336 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/0.5613, allocations: 19.98 kB / 1.547 GB, free: 0.9141 MB / 1.232 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.0003172/0.5616, allocations: 253.7 kB / 1.547 GB, free: 0.6562 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.5617, allocations: 71.58 kB / 1.547 GB, free: 0.5859 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.5619, allocations: 82.39 kB / 1.548 GB, free: 0.5039 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.5619, allocations: 4 kB / 1.548 GB, free: 0.5 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.5619, allocations: 8 kB / 1.548 GB, free: 0.4922 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007341/0.5626, allocations: 0.5145 MB / 1.548 GB, free: 15.94 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/0.565, allocations: 1.435 MB / 1.549 GB, free: 14.39 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.565, allocations: 7.984 kB / 1.549 GB, free: 14.39 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000509/0.5655, allocations: 116.5 kB / 1.55 GB, free: 14.27 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-06/0.5655, allocations: 8 kB / 1.55 GB, free: 14.27 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.5655, allocations: 20 kB / 1.55 GB, free: 14.25 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.074e-05/0.5655, allocations: 11.98 kB / 1.55 GB, free: 14.23 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.5655, allocations: 11.88 kB / 1.55 GB, free: 14.22 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.5668, allocations: 0.8949 MB / 1.55 GB, free: 13.25 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002988/0.5671, allocations: 127.5 kB / 1.551 GB, free: 13.13 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.25e-05/0.5671, allocations: 16 kB / 1.551 GB, free: 13.11 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004927/0.5676, allocations: 23.98 kB / 1.551 GB, free: 13.09 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.167e-05/0.5677, allocations: 51.75 kB / 1.551 GB, free: 13.04 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/0.5678, allocations: 23.94 kB / 1.551 GB, free: 13.02 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0004645/0.5682, allocations: 398.8 kB / 1.551 GB, free: 12.63 MB / 1.248 GB Notification: Performance of sort global known variables: time 6e-08/0.5682, allocations: 0 / 1.551 GB, free: 12.63 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0006107/0.5688, allocations: 203.9 kB / 1.551 GB, free: 12.43 MB / 1.248 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.001669/0.5705, allocations: 1.51 MB / 1.553 GB, free: 10.83 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0007311/0.5712, allocations: 421.2 kB / 1.553 GB, free: 10.42 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5712, allocations: 320 / 1.553 GB, free: 10.42 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0003628/0.5716, allocations: 235.6 kB / 1.553 GB, free: 10.19 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/0.5736, allocations: 491.4 kB / 1.554 GB, free: 9.719 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007158/0.5808, allocations: 5.502 MB / 1.559 GB, free: 3.98 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.5812, allocations: 383 kB / 1.56 GB, free: 3.578 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0005444/0.5818, allocations: 157.9 kB / 1.56 GB, free: 3.422 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003719/0.5821, allocations: 255.3 kB / 1.56 GB, free: 3.176 MB / 1.248 GB Notification: Performance of SimCode: time 9.31e-07/0.5821, allocations: 0 / 1.56 GB, free: 3.176 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05523/0.6374, allocations: 22.69 MB / 1.582 GB, free: 13 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.34, allocations: 1.875 kB / 1.582 GB, free: 13 MB / 1.279 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/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: 17.54092790838331]