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.001974/0.001974, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.00253/0.00253, allocations: 212.9 kB / 22.99 MB, free: 4.957 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.616/1.616, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.441/3.441, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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.002143/0.002143, allocations: 65.39 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4961/0.4982, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2356/0.7339, allocations: 160.7 MB / 1.484 GB, free: 15.67 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009746/0.7436, allocations: 5.075 MB / 1.489 GB, free: 10.59 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.7449, allocations: 47.62 kB / 1.489 GB, free: 10.54 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.7463, allocations: 425.4 kB / 1.489 GB, free: 10.12 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00504/0.7513, allocations: 1.75 MB / 1.491 GB, free: 8.363 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.7536, allocations: 0.8244 MB / 1.492 GB, free: 7.543 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003494/0.7571, allocations: 2.283 MB / 1.494 GB, free: 5.254 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009472/0.758, allocations: 0.5412 MB / 1.495 GB, free: 4.699 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002061/0.7601, allocations: 0.9888 MB / 1.496 GB, free: 3.707 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001928/0.762, allocations: 0.7384 MB / 1.496 GB, free: 2.98 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.7622, allocations: 76 kB / 1.496 GB, free: 2.906 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002758/0.7649, allocations: 1.153 MB / 1.498 GB, free: 1.75 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004379/0.7654, allocations: 331 kB / 1.498 GB, free: 1.426 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005383/0.7659, allocations: 398.3 kB / 1.498 GB, free: 1.035 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002718/0.7686, allocations: 1.624 MB / 1.5 GB, free: 15.41 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.7686, allocations: 8 kB / 1.5 GB, free: 15.4 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.943e-06/0.7686, allocations: 0 / 1.5 GB, free: 15.4 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.7686, allocations: 3.938 kB / 1.5 GB, free: 15.39 MB / 1.201 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.002041/0.7707, allocations: 1.131 MB / 1.501 GB, free: 14.23 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.7707, allocations: 12.03 kB / 1.501 GB, free: 14.21 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/0.7725, allocations: 279.1 kB / 1.501 GB, free: 13.94 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.7739, allocations: 0.65 MB / 1.502 GB, free: 13.26 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.33e-05/0.7739, allocations: 45.31 kB / 1.502 GB, free: 13.21 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.774, allocations: 63.98 kB / 1.502 GB, free: 13.15 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.7752, allocations: 0.7773 MB / 1.503 GB, free: 12.32 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.7753, allocations: 0 / 1.503 GB, free: 12.32 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.215e-05/0.7753, allocations: 24 kB / 1.503 GB, free: 12.3 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.88e-05/0.7754, allocations: 21.31 kB / 1.503 GB, free: 12.28 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009099/0.7763, allocations: 0.4969 MB / 1.503 GB, free: 11.78 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003023/0.7793, allocations: 1.481 MB / 1.505 GB, free: 10.27 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008651/0.7802, allocations: 417.4 kB / 1.505 GB, free: 9.852 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003537/0.7805, allocations: 204.8 kB / 1.505 GB, free: 9.648 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/0.7807, allocations: 23.98 kB / 1.505 GB, free: 9.625 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/0.7807, allocations: 38.56 kB / 1.505 GB, free: 9.578 MB / 1.201 GB Notification: Performance of pre-optimization done (n=43): time 2.395e-06/0.7807, allocations: 0 / 1.505 GB, free: 9.578 MB / 1.201 GB Notification: Performance of matching and sorting (n=48): time 0.003287/0.784, allocations: 1.377 MB / 1.507 GB, free: 8.168 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.7841, allocations: 59.84 kB / 1.507 GB, free: 8.098 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006856/0.7848, allocations: 474.9 kB / 1.507 GB, free: 7.621 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/0.7848, allocations: 37.7 kB / 1.507 GB, free: 7.578 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.7852, allocations: 340.9 kB / 1.508 GB, free: 7.242 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.7853, allocations: 174.4 kB / 1.508 GB, free: 7.07 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.7855, allocations: 94.14 kB / 1.508 GB, free: 6.973 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002226/0.7857, allocations: 366.7 kB / 1.508 GB, free: 6.605 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003195/0.786, allocations: 172.9 kB / 1.508 GB, free: 6.438 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004454/0.7865, allocations: 366.9 kB / 1.509 GB, free: 6.031 MB / 1.201 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.003362/0.7899, allocations: 1.291 MB / 1.51 GB, free: 4.727 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.7899, allocations: 4 kB / 1.51 GB, free: 4.723 MB / 1.201 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009998/0.7909, allocations: 0.5231 MB / 1.51 GB, free: 4.191 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.7909, allocations: 8 kB / 1.51 GB, free: 4.184 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.7909, allocations: 0 / 1.51 GB, free: 4.184 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.7909, allocations: 4 kB / 1.51 GB, free: 4.18 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004265/0.7913, allocations: 95.89 kB / 1.511 GB, free: 4.086 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.7914, allocations: 7.984 kB / 1.511 GB, free: 4.078 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005894/0.7919, allocations: 15.98 kB / 1.511 GB, free: 4.062 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/0.792, allocations: 16 kB / 1.511 GB, free: 4.047 MB / 1.201 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.0004382/0.7924, allocations: 265.5 kB / 1.511 GB, free: 3.777 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.7925, allocations: 67.59 kB / 1.511 GB, free: 3.711 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.7927, allocations: 73.81 kB / 1.511 GB, free: 3.637 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.7927, allocations: 8 kB / 1.511 GB, free: 3.629 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.7927, allocations: 0 / 1.511 GB, free: 3.629 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008142/0.7935, allocations: 0.5106 MB / 1.512 GB, free: 3.09 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/0.796, allocations: 1.366 MB / 1.513 GB, free: 1.625 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.796, allocations: 8 kB / 1.513 GB, free: 1.617 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005241/0.7965, allocations: 111.8 kB / 1.513 GB, free: 1.508 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.225e-05/0.7965, allocations: 8.625 kB / 1.513 GB, free: 1.5 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.804e-05/0.7966, allocations: 16 kB / 1.513 GB, free: 1.484 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.029e-05/0.7966, allocations: 15.98 kB / 1.513 GB, free: 1.469 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.959e-06/0.7966, allocations: 7.938 kB / 1.513 GB, free: 1.461 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.798, allocations: 0.8951 MB / 1.514 GB, free: 496 kB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/0.7983, allocations: 119.6 kB / 1.514 GB, free: 376 kB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.9e-05/0.7984, allocations: 16 kB / 1.514 GB, free: 360 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004852/0.7989, allocations: 18.03 kB / 1.514 GB, free: 344 kB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.799, allocations: 55.75 kB / 1.514 GB, free: 288 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.424e-05/0.799, allocations: 23.98 kB / 1.514 GB, free: 264 kB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004867/0.7995, allocations: 334.9 kB / 1.514 GB, free: 15.93 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.7995, allocations: 0 / 1.514 GB, free: 15.93 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007686/0.8003, allocations: 200 kB / 1.515 GB, free: 15.74 MB / 1.217 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.0003974/0.8007, allocations: 177 kB / 1.515 GB, free: 15.56 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0008468/0.8015, allocations: 425.2 kB / 1.515 GB, free: 15.14 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.8015, allocations: 0 / 1.515 GB, free: 15.14 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003749/0.8019, allocations: 229.1 kB / 1.515 GB, free: 14.92 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/0.8039, allocations: 445.4 kB / 1.516 GB, free: 14.5 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002719/0.8066, allocations: 1.562 MB / 1.517 GB, free: 12.84 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.8071, allocations: 386.6 kB / 1.518 GB, free: 12.44 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0005902/0.8076, allocations: 157.2 kB / 1.518 GB, free: 12.28 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.8078, allocations: 55.42 kB / 1.518 GB, free: 12.23 MB / 1.217 GB Notification: Performance of SimCode: time 9.82e-07/0.8078, allocations: 0 / 1.518 GB, free: 12.23 MB / 1.217 GB Notification: Performance of Templates: time 0.02801/0.8358, allocations: 15.67 MB / 1.533 GB, free: 12.9 MB / 1.232 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 -s cvode -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/jenkins1/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.600360482989345]