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.001383/0.001383, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001554/0.001554, allocations: 219.2 kB / 22.99 MB, free: 4.914 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.532/1.532, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.378/3.378, allocations: 0.5107 GB / 0.8166 GB, free: 17.87 MB / 0.6231 GB " [Timeout remaining time 176] 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.002249/0.002249, allocations: 68.69 kB / 1.187 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.367, allocations: 181.9 MB / 1.365 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2125/0.5796, allocations: 160.7 MB / 1.522 GB, free: 12.37 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.009448/0.589, allocations: 5.08 MB / 1.526 GB, free: 7.273 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.5902, allocations: 47.62 kB / 1.527 GB, free: 7.227 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.5915, allocations: 421.5 kB / 1.527 GB, free: 6.812 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004914/0.5965, allocations: 1.746 MB / 1.529 GB, free: 5.059 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.5988, allocations: 0.8264 MB / 1.529 GB, free: 4.238 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003487/0.6023, allocations: 2.25 MB / 1.532 GB, free: 1.984 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.6033, allocations: 0.5412 MB / 1.532 GB, free: 1.43 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002351/0.6056, allocations: 0.9928 MB / 1.533 GB, free: 444 kB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/0.6078, allocations: 0.704 MB / 1.534 GB, free: 15.74 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001814/0.608, allocations: 76 kB / 1.534 GB, free: 15.66 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002635/0.6106, allocations: 1.137 MB / 1.535 GB, free: 14.53 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004356/0.6111, allocations: 335 kB / 1.535 GB, free: 14.2 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0005764/0.6117, allocations: 394.4 kB / 1.536 GB, free: 13.81 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002896/0.6145, allocations: 1.635 MB / 1.537 GB, free: 12.17 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.6146, allocations: 4 kB / 1.537 GB, free: 12.17 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6146, allocations: 0 / 1.537 GB, free: 12.17 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.74e-05/0.6146, allocations: 0 / 1.537 GB, free: 12.17 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.002096/0.6167, allocations: 1.138 MB / 1.538 GB, free: 10.99 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.6167, allocations: 12.03 kB / 1.538 GB, free: 10.98 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001824/0.6185, allocations: 275.2 kB / 1.539 GB, free: 10.71 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.6199, allocations: 0.6422 MB / 1.539 GB, free: 10.04 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.266e-05/0.62, allocations: 45.31 kB / 1.539 GB, free: 9.996 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.6201, allocations: 64 kB / 1.539 GB, free: 9.934 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.6214, allocations: 0.7773 MB / 1.54 GB, free: 9.102 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.6214, allocations: 0 / 1.54 GB, free: 9.102 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-05/0.6215, allocations: 24 kB / 1.54 GB, free: 9.078 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.24e-05/0.6215, allocations: 25.31 kB / 1.54 GB, free: 9.051 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009317/0.6224, allocations: 0.4931 MB / 1.541 GB, free: 8.559 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003225/0.6257, allocations: 1.497 MB / 1.542 GB, free: 7.031 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008723/0.6265, allocations: 415.4 kB / 1.543 GB, free: 6.617 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003691/0.6269, allocations: 210.4 kB / 1.543 GB, free: 6.41 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001604/0.6271, allocations: 23.98 kB / 1.543 GB, free: 6.387 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.6271, allocations: 38.56 kB / 1.543 GB, free: 6.34 MB / 1.232 GB Notification: Performance of pre-optimization done (n=43): time 2.986e-06/0.6271, allocations: 4 kB / 1.543 GB, free: 6.336 MB / 1.232 GB Notification: Performance of matching and sorting (n=48): time 0.003189/0.6303, allocations: 1.378 MB / 1.544 GB, free: 4.926 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.6303, allocations: 55.84 kB / 1.544 GB, free: 4.859 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006427/0.631, allocations: 478.8 kB / 1.545 GB, free: 4.379 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.954e-05/0.631, allocations: 33.7 kB / 1.545 GB, free: 4.34 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/0.6313, allocations: 344.9 kB / 1.545 GB, free: 4 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.6315, allocations: 174.4 kB / 1.545 GB, free: 3.828 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.6317, allocations: 90.19 kB / 1.545 GB, free: 3.734 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002238/0.6319, allocations: 366.7 kB / 1.546 GB, free: 3.367 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/0.6322, allocations: 172.9 kB / 1.546 GB, free: 3.199 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004668/0.6327, allocations: 366.9 kB / 1.546 GB, free: 2.789 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.00345/0.6361, allocations: 1.29 MB / 1.547 GB, free: 1.488 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.6361, allocations: 4 kB / 1.547 GB, free: 1.484 MB / 1.232 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009754/0.6371, allocations: 0.5191 MB / 1.548 GB, free: 0.957 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.6371, allocations: 8 kB / 1.548 GB, free: 0.9492 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.6371, allocations: 160 / 1.548 GB, free: 0.9492 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.6372, allocations: 8 kB / 1.548 GB, free: 0.9414 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004204/0.6376, allocations: 95.84 kB / 1.548 GB, free: 0.8477 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.6376, allocations: 7.984 kB / 1.548 GB, free: 0.8398 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006061/0.6382, allocations: 14.06 kB / 1.548 GB, free: 0.8281 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.6382, allocations: 16 kB / 1.548 GB, free: 0.8125 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.0004632/0.6387, allocations: 253.6 kB / 1.548 GB, free: 0.5547 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.6388, allocations: 63.58 kB / 1.548 GB, free: 0.4922 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.639, allocations: 77.81 kB / 1.548 GB, free: 424 kB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.639, allocations: 12 kB / 1.548 GB, free: 412 kB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.639, allocations: 0 / 1.548 GB, free: 412 kB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008217/0.6398, allocations: 0.5145 MB / 1.549 GB, free: 15.85 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002496/0.6423, allocations: 1.37 MB / 1.55 GB, free: 14.38 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.6423, allocations: 8 kB / 1.55 GB, free: 14.38 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005296/0.6429, allocations: 107.8 kB / 1.55 GB, free: 14.27 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/0.6429, allocations: 8 kB / 1.55 GB, free: 14.26 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/0.6429, allocations: 16 kB / 1.55 GB, free: 14.25 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/0.6429, allocations: 19.92 kB / 1.55 GB, free: 14.23 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/0.6429, allocations: 8.406 kB / 1.55 GB, free: 14.22 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.6443, allocations: 0.8949 MB / 1.551 GB, free: 13.25 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/0.6446, allocations: 119.6 kB / 1.551 GB, free: 13.13 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.409e-05/0.6447, allocations: 16 kB / 1.551 GB, free: 13.12 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005324/0.6453, allocations: 21.81 kB / 1.551 GB, free: 13.1 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.203e-05/0.6453, allocations: 43.83 kB / 1.552 GB, free: 13.05 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.963e-05/0.6454, allocations: 23.98 kB / 1.552 GB, free: 13.03 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0004358/0.6458, allocations: 334.9 kB / 1.552 GB, free: 12.71 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6458, allocations: 4 kB / 1.552 GB, free: 12.7 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0007389/0.6466, allocations: 200 kB / 1.552 GB, free: 12.51 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.0003556/0.6469, allocations: 175.1 kB / 1.552 GB, free: 12.33 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0008437/0.6478, allocations: 425.2 kB / 1.553 GB, free: 11.91 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.6478, allocations: 0 / 1.553 GB, free: 11.91 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0003898/0.6482, allocations: 228.8 kB / 1.553 GB, free: 11.69 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/0.6501, allocations: 438.5 kB / 1.553 GB, free: 11.27 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.653, allocations: 1.611 MB / 1.555 GB, free: 9.555 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.6534, allocations: 382.6 kB / 1.555 GB, free: 9.156 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.6536, allocations: 55.44 kB / 1.555 GB, free: 9.102 MB / 1.248 GB Notification: Performance of SimCode: time 9.12e-07/0.6536, allocations: 0 / 1.555 GB, free: 9.102 MB / 1.248 GB Notification: Performance of Templates: time 0.01914/0.6727, allocations: 11.35 MB / 1.566 GB, free: 13.83 MB / 1.264 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/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: 14.197427081875503]