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.00212/0.00212, allocations: 103 kB / 16.45 MB, free: 6.449 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.002937/0.002937, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.566/1.566, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.319/3.319, allocations: 0.4899 GB / 0.7915 GB, free: 33.2 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.002206/0.002206, allocations: 71.81 kB / 1.149 GB, free: 26.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4295, allocations: 176.1 MB / 1.321 GB, free: 2.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.265/0.6944, allocations: 185.5 MB / 1.502 GB, free: 8.676 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01261/0.707, allocations: 5.394 MB / 1.508 GB, free: 3.273 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001875/0.7089, allocations: 43.62 kB / 1.508 GB, free: 3.23 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001793/0.7107, allocations: 457.3 kB / 1.508 GB, free: 2.781 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.006596/0.7173, allocations: 1.743 MB / 1.51 GB, free: 1.031 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00316/0.7205, allocations: 0.8056 MB / 1.511 GB, free: 236 kB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004445/0.7249, allocations: 2.211 MB / 1.513 GB, free: 14.01 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/0.7263, allocations: 0.5759 MB / 1.513 GB, free: 13.43 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002854/0.7291, allocations: 0.9926 MB / 1.514 GB, free: 12.43 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003225/0.7324, allocations: 0.7239 MB / 1.515 GB, free: 11.71 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0004305/0.7328, allocations: 76 kB / 1.515 GB, free: 11.64 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004793/0.7376, allocations: 1.469 MB / 1.517 GB, free: 10.17 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0007974/0.7384, allocations: 327 kB / 1.517 GB, free: 9.848 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001467/0.7398, allocations: 481.8 kB / 1.517 GB, free: 9.375 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004982/0.7448, allocations: 1.666 MB / 1.519 GB, free: 7.703 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.7448, allocations: 0 / 1.519 GB, free: 7.703 MB / 1.217 GB Notification: Performance of FrontEnd: time 6.322e-06/0.7448, allocations: 4 kB / 1.519 GB, free: 7.699 MB / 1.217 GB Notification: Performance of Transformations before backend: time 5.768e-05/0.7449, allocations: 0 / 1.519 GB, free: 7.699 MB / 1.217 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.003409/0.7483, allocations: 1.206 MB / 1.52 GB, free: 6.438 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.7484, allocations: 11.98 kB / 1.52 GB, free: 6.426 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002776/0.7511, allocations: 283.2 kB / 1.52 GB, free: 6.148 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/0.7532, allocations: 0.7143 MB / 1.521 GB, free: 5.395 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.707e-05/0.7533, allocations: 49.31 kB / 1.521 GB, free: 5.348 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.7535, allocations: 56 kB / 1.521 GB, free: 5.293 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.7552, allocations: 0.5843 MB / 1.522 GB, free: 4.699 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.7552, allocations: 0 / 1.522 GB, free: 4.699 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.931e-05/0.7553, allocations: 20 kB / 1.522 GB, free: 4.68 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.792e-05/0.7553, allocations: 25.31 kB / 1.522 GB, free: 4.656 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.7568, allocations: 0.5048 MB / 1.522 GB, free: 4.152 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00545/0.7622, allocations: 2.535 MB / 1.525 GB, free: 1.387 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.7633, allocations: 421 kB / 1.525 GB, free: 0.9688 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004888/0.7638, allocations: 208.7 kB / 1.525 GB, free: 0.7617 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002475/0.7641, allocations: 101.1 kB / 1.525 GB, free: 0.6445 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.391e-05/0.7641, allocations: 38.56 kB / 1.525 GB, free: 0.5977 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 3.707e-06/0.7641, allocations: 0 / 1.525 GB, free: 0.5977 MB / 1.217 GB Notification: Performance of matching and sorting (n=48): time 0.004387/0.7685, allocations: 1.452 MB / 1.527 GB, free: 15.09 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.7686, allocations: 55.84 kB / 1.527 GB, free: 15.02 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.7697, allocations: 0.5421 MB / 1.527 GB, free: 14.47 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.83e-05/0.7698, allocations: 41.7 kB / 1.528 GB, free: 14.42 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003867/0.7702, allocations: 325.1 kB / 1.528 GB, free: 14.1 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/0.7704, allocations: 174.4 kB / 1.528 GB, free: 13.93 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.7706, allocations: 94.2 kB / 1.528 GB, free: 13.84 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002397/0.7709, allocations: 374.7 kB / 1.528 GB, free: 13.46 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000442/0.7713, allocations: 177 kB / 1.529 GB, free: 13.29 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005629/0.7719, allocations: 260.8 kB / 1.529 GB, free: 13 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.004694/0.7766, allocations: 1.447 MB / 1.53 GB, free: 11.5 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7766, allocations: 0 / 1.53 GB, free: 11.5 MB / 1.232 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001394/0.778, allocations: 0.5269 MB / 1.531 GB, free: 10.97 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.778, allocations: 8.156 kB / 1.531 GB, free: 10.96 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.778, allocations: 4 kB / 1.531 GB, free: 10.96 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.778, allocations: 4 kB / 1.531 GB, free: 10.95 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005766/0.7786, allocations: 95.84 kB / 1.531 GB, free: 10.86 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.7786, allocations: 7.984 kB / 1.531 GB, free: 10.85 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008463/0.7795, allocations: 15.95 kB / 1.531 GB, free: 10.84 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/0.7795, allocations: 15.94 kB / 1.531 GB, free: 10.82 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.0005437/0.7801, allocations: 252.6 kB / 1.531 GB, free: 10.57 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.7802, allocations: 71.58 kB / 1.531 GB, free: 10.5 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.7805, allocations: 78.45 kB / 1.531 GB, free: 10.42 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.7805, allocations: 11.92 kB / 1.531 GB, free: 10.41 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.7805, allocations: 0 / 1.531 GB, free: 10.41 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001076/0.7816, allocations: 0.5067 MB / 1.532 GB, free: 9.871 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003648/0.7852, allocations: 1.588 MB / 1.533 GB, free: 8.164 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.7852, allocations: 4 kB / 1.533 GB, free: 8.16 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007217/0.7859, allocations: 115.8 kB / 1.533 GB, free: 8.047 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.448e-05/0.786, allocations: 8.625 kB / 1.534 GB, free: 8.039 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-05/0.786, allocations: 19.98 kB / 1.534 GB, free: 8.02 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.595e-05/0.786, allocations: 15.94 kB / 1.534 GB, free: 8.004 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.15e-05/0.786, allocations: 11.88 kB / 1.534 GB, free: 7.992 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.7879, allocations: 0.8949 MB / 1.534 GB, free: 7.016 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004386/0.7883, allocations: 200.7 kB / 1.535 GB, free: 6.801 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.7884, allocations: 19.98 kB / 1.535 GB, free: 6.781 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006865/0.7891, allocations: 16 kB / 1.535 GB, free: 6.766 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.7892, allocations: 51.77 kB / 1.535 GB, free: 6.715 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.857e-05/0.7893, allocations: 23.98 kB / 1.535 GB, free: 6.691 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007505/0.79, allocations: 398.8 kB / 1.535 GB, free: 6.305 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.2e-07/0.79, allocations: 7.938 kB / 1.535 GB, free: 6.297 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001006/0.7911, allocations: 196 kB / 1.535 GB, free: 6.105 MB / 1.232 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.0005068/0.7916, allocations: 179.1 kB / 1.535 GB, free: 5.922 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001184/0.7927, allocations: 429.5 kB / 1.536 GB, free: 5.5 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.7928, allocations: 0 / 1.536 GB, free: 5.5 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0005496/0.7933, allocations: 228.8 kB / 1.536 GB, free: 5.277 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00308/0.7964, allocations: 491 kB / 1.537 GB, free: 4.816 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004036/0.8004, allocations: 1.588 MB / 1.538 GB, free: 3.141 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009738/0.8014, allocations: 0.9811 MB / 1.539 GB, free: 2.133 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0007186/0.8021, allocations: 161.9 kB / 1.539 GB, free: 1.973 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.8023, allocations: 55.44 kB / 1.539 GB, free: 1.918 MB / 1.232 GB Notification: Performance of SimCode: time 1.222e-06/0.8023, allocations: 0 / 1.539 GB, free: 1.918 MB / 1.232 GB Notification: Performance of Templates: time 0.03139/0.8337, allocations: 15.02 MB / 1.554 GB, free: 3.082 MB / 1.248 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 -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/jenkins/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: 10.246494587045163]