Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001889/0.001889, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002549/0.002549, allocations: 217.9 kB / 23.04 MB, free: 5.078 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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.878/2.878, allocations: 476.7 MB / 0.7715 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="cs",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.002121/0.002121, allocations: 64.53 kB / 1.118 GB, free: 39.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3106, allocations: 170 MB / 1.284 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2249/0.5355, allocations: 185.7 MB / 1.465 GB, free: 1.199 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.008873/0.5444, allocations: 5.403 MB / 1.471 GB, free: 11.79 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008945/0.5453, allocations: 43.62 kB / 1.471 GB, free: 11.75 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.5465, allocations: 465.4 kB / 1.471 GB, free: 11.29 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004083/0.5505, allocations: 1.77 MB / 1.473 GB, free: 9.512 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.5525, allocations: 0.8414 MB / 1.474 GB, free: 8.676 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003027/0.5556, allocations: 2.286 MB / 1.476 GB, free: 6.379 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008058/0.5564, allocations: 0.5374 MB / 1.477 GB, free: 5.832 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.5576, allocations: 0.7939 MB / 1.477 GB, free: 5.035 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001786/0.5594, allocations: 0.7228 MB / 1.478 GB, free: 4.32 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.5595, allocations: 76 kB / 1.478 GB, free: 4.246 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002765/0.5623, allocations: 1.52 MB / 1.48 GB, free: 2.723 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003648/0.5626, allocations: 331 kB / 1.48 GB, free: 2.398 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.00051/0.5632, allocations: 469.9 kB / 1.48 GB, free: 1.938 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00243/0.5656, allocations: 1.674 MB / 1.482 GB, free: 264 kB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5656, allocations: 0 / 1.482 GB, free: 264 kB / 1.17 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5656, allocations: 0 / 1.482 GB, free: 264 kB / 1.17 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.5656, allocations: 3.938 kB / 1.482 GB, free: 260 kB / 1.17 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.001875/0.5675, allocations: 1.135 MB / 1.483 GB, free: 15.08 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.5675, allocations: 12.03 kB / 1.483 GB, free: 15.07 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.595e-05/0.5675, allocations: 13.31 kB / 1.483 GB, free: 15.05 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001262/0.5677, allocations: 106.5 kB / 1.483 GB, free: 14.94 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/0.5695, allocations: 279.2 kB / 1.483 GB, free: 14.67 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.5707, allocations: 0.6422 MB / 1.484 GB, free: 14 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.5708, allocations: 45.31 kB / 1.484 GB, free: 13.96 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.5709, allocations: 56 kB / 1.484 GB, free: 13.9 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.572, allocations: 0.5882 MB / 1.485 GB, free: 13.3 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.572, allocations: 0 / 1.485 GB, free: 13.3 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.337e-05/0.572, allocations: 20 kB / 1.485 GB, free: 13.29 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.265e-05/0.5721, allocations: 21.31 kB / 1.485 GB, free: 13.27 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009698/0.573, allocations: 0.5087 MB / 1.485 GB, free: 12.76 MB / 1.186 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.003585/0.5766, allocations: 2.337 MB / 1.488 GB, free: 10.23 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008372/0.5775, allocations: 418.9 kB / 1.488 GB, free: 9.816 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003795/0.5778, allocations: 204.8 kB / 1.488 GB, free: 9.613 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001669/0.578, allocations: 27.98 kB / 1.488 GB, free: 9.586 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/0.5781, allocations: 42.56 kB / 1.488 GB, free: 9.535 MB / 1.186 GB Notification: Performance of pre-optimization done (n=43): time 2.094e-06/0.5781, allocations: 0 / 1.488 GB, free: 9.535 MB / 1.186 GB Notification: Performance of matching and sorting (n=48): time 0.003132/0.5812, allocations: 1.365 MB / 1.49 GB, free: 8.137 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.5812, allocations: 59.84 kB / 1.49 GB, free: 8.066 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007124/0.582, allocations: 0.5498 MB / 1.49 GB, free: 7.504 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.192e-05/0.582, allocations: 37.7 kB / 1.49 GB, free: 7.461 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/0.5823, allocations: 325.2 kB / 1.491 GB, free: 7.141 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.5825, allocations: 178.4 kB / 1.491 GB, free: 6.965 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.5826, allocations: 86.19 kB / 1.491 GB, free: 6.875 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002182/0.5828, allocations: 374.8 kB / 1.491 GB, free: 6.5 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.5832, allocations: 180.8 kB / 1.491 GB, free: 6.324 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004085/0.5836, allocations: 252.2 kB / 1.492 GB, free: 6.051 MB / 1.186 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.003538/0.5871, allocations: 1.294 MB / 1.493 GB, free: 4.746 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5871, allocations: 0 / 1.493 GB, free: 4.746 MB / 1.186 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00102/0.5881, allocations: 0.5347 MB / 1.493 GB, free: 4.203 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.5881, allocations: 4 kB / 1.493 GB, free: 4.199 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.5882, allocations: 0 / 1.493 GB, free: 4.199 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.5882, allocations: 4 kB / 1.493 GB, free: 4.195 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.5886, allocations: 95.89 kB / 1.493 GB, free: 4.102 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.5886, allocations: 7.938 kB / 1.493 GB, free: 4.094 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006233/0.5892, allocations: 29.59 kB / 1.493 GB, free: 4.066 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/0.5893, allocations: 16.16 kB / 1.494 GB, free: 4.051 MB / 1.186 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.0004289/0.5897, allocations: 253.6 kB / 1.494 GB, free: 3.793 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.5898, allocations: 67.58 kB / 1.494 GB, free: 3.727 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.59, allocations: 78.45 kB / 1.494 GB, free: 3.648 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.59, allocations: 4 kB / 1.494 GB, free: 3.645 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.59, allocations: 4 kB / 1.494 GB, free: 3.641 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009027/0.5909, allocations: 0.5183 MB / 1.494 GB, free: 3.09 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002856/0.5938, allocations: 1.549 MB / 1.496 GB, free: 1.43 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.5938, allocations: 12 kB / 1.496 GB, free: 1.418 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/0.5943, allocations: 111.9 kB / 1.496 GB, free: 1.309 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/0.5944, allocations: 8 kB / 1.496 GB, free: 1.301 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/0.5944, allocations: 16 kB / 1.496 GB, free: 1.285 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.418e-05/0.5944, allocations: 19.86 kB / 1.496 GB, free: 1.266 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.842e-06/0.5944, allocations: 7.984 kB / 1.496 GB, free: 1.258 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.5959, allocations: 0.9178 MB / 1.497 GB, free: 268 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003284/0.5962, allocations: 119.6 kB / 1.497 GB, free: 148 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.509e-05/0.5963, allocations: 16 kB / 1.497 GB, free: 132 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005224/0.5968, allocations: 27.92 kB / 1.497 GB, free: 104 kB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.902e-05/0.5969, allocations: 39.81 kB / 1.497 GB, free: 64 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/0.597, allocations: 31.94 kB / 1.497 GB, free: 32 kB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006028/0.5976, allocations: 398.8 kB / 1.498 GB, free: 15.64 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5976, allocations: 0 / 1.498 GB, free: 15.64 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000827/0.5984, allocations: 203.9 kB / 1.498 GB, free: 15.45 MB / 1.201 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.002048/0.6005, allocations: 1.511 MB / 1.499 GB, free: 13.84 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009331/0.6014, allocations: 429.5 kB / 1.5 GB, free: 13.42 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6014, allocations: 4 kB / 1.5 GB, free: 13.42 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000394/0.6018, allocations: 223.6 kB / 1.5 GB, free: 13.2 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/0.6041, allocations: 498.6 kB / 1.5 GB, free: 12.73 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008635/0.6127, allocations: 5.495 MB / 1.506 GB, free: 7 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007776/0.6135, allocations: 0.9734 MB / 1.507 GB, free: 5.996 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0007187/0.6142, allocations: 165.8 kB / 1.507 GB, free: 5.832 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004286/0.6146, allocations: 247.4 kB / 1.507 GB, free: 5.59 MB / 1.201 GB Notification: Performance of SimCode: time 1.443e-06/0.6146, allocations: 4 kB / 1.507 GB, free: 5.586 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05601/0.6706, allocations: 20.87 MB / 1.527 GB, free: 1.078 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.72, allocations: 64 / 1.527 GB, free: 1.078 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 20.76490079902578]