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.001638/0.001638, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001924/0.001924, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.148/3.148, allocations: 0.4892 GB / 0.7951 GB, free: 35.62 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.002355/0.002355, allocations: 71.45 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3633, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2139/0.5772, allocations: 160.7 MB / 1.483 GB, free: 0.5938 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.009993/0.5872, allocations: 5.081 MB / 1.488 GB, free: 11.51 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.5886, allocations: 43.62 kB / 1.488 GB, free: 11.46 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001566/0.5902, allocations: 433.4 kB / 1.489 GB, free: 11.04 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005234/0.5954, allocations: 1.743 MB / 1.49 GB, free: 9.289 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002319/0.5978, allocations: 0.8165 MB / 1.491 GB, free: 8.477 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003629/0.6014, allocations: 2.263 MB / 1.493 GB, free: 6.207 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.6026, allocations: 0.5295 MB / 1.494 GB, free: 5.664 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002457/0.605, allocations: 0.9888 MB / 1.495 GB, free: 4.672 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002303/0.6073, allocations: 0.7114 MB / 1.496 GB, free: 3.969 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002363/0.6076, allocations: 79.94 kB / 1.496 GB, free: 3.891 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002806/0.6104, allocations: 1.145 MB / 1.497 GB, free: 2.742 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005602/0.6109, allocations: 331 kB / 1.497 GB, free: 2.418 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008659/0.6118, allocations: 394.3 kB / 1.497 GB, free: 2.031 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00343/0.6152, allocations: 1.627 MB / 1.499 GB, free: 408 kB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.6152, allocations: 0 / 1.499 GB, free: 408 kB / 1.186 GB Notification: Performance of FrontEnd: time 2.344e-06/0.6152, allocations: 0 / 1.499 GB, free: 408 kB / 1.186 GB Notification: Performance of Transformations before backend: time 4.788e-05/0.6153, allocations: 0 / 1.499 GB, free: 408 kB / 1.186 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.002547/0.6178, allocations: 1.136 MB / 1.5 GB, free: 15.23 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.6179, allocations: 8.031 kB / 1.5 GB, free: 15.22 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002038/0.6199, allocations: 283.1 kB / 1.5 GB, free: 14.94 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/0.6215, allocations: 0.65 MB / 1.501 GB, free: 14.26 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.377e-05/0.6215, allocations: 41.31 kB / 1.501 GB, free: 14.22 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.6216, allocations: 60 kB / 1.501 GB, free: 14.16 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.623, allocations: 0.789 MB / 1.502 GB, free: 13.32 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.623, allocations: 0 / 1.502 GB, free: 13.32 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.954e-05/0.623, allocations: 20 kB / 1.502 GB, free: 13.3 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.497e-05/0.6231, allocations: 33.28 kB / 1.502 GB, free: 13.27 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.6241, allocations: 0.5009 MB / 1.502 GB, free: 12.76 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003234/0.6273, allocations: 1.47 MB / 1.504 GB, free: 11.26 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008953/0.6282, allocations: 414.8 kB / 1.504 GB, free: 10.85 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003842/0.6286, allocations: 214.3 kB / 1.504 GB, free: 10.64 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/0.6288, allocations: 19.98 kB / 1.504 GB, free: 10.62 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.6288, allocations: 38.56 kB / 1.505 GB, free: 10.57 MB / 1.201 GB Notification: Performance of pre-optimization done (n=43): time 2.715e-06/0.6288, allocations: 0 / 1.505 GB, free: 10.57 MB / 1.201 GB Notification: Performance of matching and sorting (n=48): time 0.003489/0.6323, allocations: 1.373 MB / 1.506 GB, free: 9.164 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.6324, allocations: 55.84 kB / 1.506 GB, free: 9.098 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006353/0.633, allocations: 478.9 kB / 1.506 GB, free: 8.617 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.848e-05/0.6331, allocations: 37.7 kB / 1.506 GB, free: 8.574 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.6333, allocations: 336.9 kB / 1.507 GB, free: 8.242 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/0.6335, allocations: 178.4 kB / 1.507 GB, free: 8.066 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.6337, allocations: 90.14 kB / 1.507 GB, free: 7.973 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002032/0.6339, allocations: 370.7 kB / 1.507 GB, free: 7.602 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/0.6342, allocations: 184.8 kB / 1.508 GB, free: 7.422 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004728/0.6347, allocations: 362.9 kB / 1.508 GB, free: 7.02 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.003392/0.6381, allocations: 1.284 MB / 1.509 GB, free: 5.719 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6381, allocations: 7.938 kB / 1.509 GB, free: 5.711 MB / 1.201 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009577/0.639, allocations: 0.5269 MB / 1.51 GB, free: 5.176 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.639, allocations: 4 kB / 1.51 GB, free: 5.172 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.6391, allocations: 4 kB / 1.51 GB, free: 5.168 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.6391, allocations: 0 / 1.51 GB, free: 5.168 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/0.6395, allocations: 99.83 kB / 1.51 GB, free: 5.07 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.6395, allocations: 4 kB / 1.51 GB, free: 5.066 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006002/0.6401, allocations: 20.16 kB / 1.51 GB, free: 5.047 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.234e-05/0.6402, allocations: 16 kB / 1.51 GB, free: 5.031 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.00039/0.6406, allocations: 246.2 kB / 1.51 GB, free: 4.781 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.6407, allocations: 67.61 kB / 1.51 GB, free: 4.715 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.6409, allocations: 73.77 kB / 1.51 GB, free: 4.641 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.6409, allocations: 4 kB / 1.51 GB, free: 4.637 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.6409, allocations: 0 / 1.51 GB, free: 4.637 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000784/0.6417, allocations: 0.5106 MB / 1.511 GB, free: 4.098 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/0.6441, allocations: 1.367 MB / 1.512 GB, free: 2.633 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.6441, allocations: 4.062 kB / 1.512 GB, free: 2.629 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005351/0.6446, allocations: 119.8 kB / 1.512 GB, free: 2.512 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/0.6447, allocations: 4 kB / 1.512 GB, free: 2.508 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/0.6447, allocations: 23.98 kB / 1.512 GB, free: 2.484 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/0.6447, allocations: 4 kB / 1.512 GB, free: 2.48 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/0.6447, allocations: 11.98 kB / 1.512 GB, free: 2.469 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.646, allocations: 0.899 MB / 1.513 GB, free: 1.488 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003142/0.6464, allocations: 119.6 kB / 1.513 GB, free: 1.371 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.179e-05/0.6464, allocations: 16 kB / 1.513 GB, free: 1.355 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005083/0.647, allocations: 20.59 kB / 1.513 GB, free: 1.336 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.707e-05/0.647, allocations: 47.81 kB / 1.513 GB, free: 1.289 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.6471, allocations: 27.94 kB / 1.513 GB, free: 1.262 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004441/0.6475, allocations: 342.8 kB / 1.514 GB, free: 0.9297 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.6475, allocations: 0 / 1.514 GB, free: 0.9297 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0007053/0.6482, allocations: 196 kB / 1.514 GB, free: 0.7383 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.000327/0.6486, allocations: 178.8 kB / 1.514 GB, free: 0.5586 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0008339/0.6494, allocations: 425.2 kB / 1.514 GB, free: 148 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.6494, allocations: 4 kB / 1.514 GB, free: 144 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003873/0.6498, allocations: 223.9 kB / 1.515 GB, free: 15.92 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/0.6518, allocations: 448.3 kB / 1.515 GB, free: 15.49 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.6544, allocations: 1.607 MB / 1.517 GB, free: 13.78 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/0.6548, allocations: 382.7 kB / 1.517 GB, free: 13.38 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.655, allocations: 55.44 kB / 1.517 GB, free: 13.33 MB / 1.217 GB Notification: Performance of SimCode: time 6.71e-07/0.655, allocations: 0 / 1.517 GB, free: 13.33 MB / 1.217 GB Notification: Performance of Templates: time 0.0188/0.6738, allocations: 11.36 MB / 1.528 GB, free: 2.059 MB / 1.217 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/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: 13.892801421694458]