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.001457/0.001457, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00164/0.00164, allocations: 220.5 kB / 23.01 MB, free: 4.609 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.337/1.337, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 179] 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 2.897/2.897, allocations: 0.49 GB / 0.7958 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 177] 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.001869/0.001869, allocations: 62.69 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3061, allocations: 176.1 MB / 1.327 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1926/0.4987, allocations: 185.8 MB / 1.509 GB, free: 6.996 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.008691/0.5074, allocations: 5.424 MB / 1.514 GB, free: 1.566 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.5084, allocations: 47.62 kB / 1.514 GB, free: 1.52 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.5095, allocations: 469.3 kB / 1.514 GB, free: 1.059 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003931/0.5135, allocations: 1.762 MB / 1.516 GB, free: 15.29 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.5154, allocations: 0.8443 MB / 1.517 GB, free: 14.45 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002714/0.5181, allocations: 2.281 MB / 1.519 GB, free: 12.16 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007316/0.5188, allocations: 0.5374 MB / 1.52 GB, free: 11.61 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.5204, allocations: 0.9966 MB / 1.521 GB, free: 10.61 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001571/0.522, allocations: 0.7319 MB / 1.521 GB, free: 9.887 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.5221, allocations: 76 kB / 1.521 GB, free: 9.812 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002491/0.5246, allocations: 1.493 MB / 1.523 GB, free: 8.316 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.000327/0.5249, allocations: 339 kB / 1.523 GB, free: 7.984 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0004571/0.5254, allocations: 469.9 kB / 1.524 GB, free: 7.523 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002156/0.5275, allocations: 1.674 MB / 1.525 GB, free: 5.844 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5275, allocations: 0 / 1.525 GB, free: 5.844 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5275, allocations: 0 / 1.525 GB, free: 5.844 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.5275, allocations: 0 / 1.525 GB, free: 5.844 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.001675/0.5292, allocations: 1.134 MB / 1.526 GB, free: 4.672 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.5292, allocations: 8.031 kB / 1.526 GB, free: 4.664 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/0.5309, allocations: 287.1 kB / 1.527 GB, free: 4.383 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.532, allocations: 0.6305 MB / 1.527 GB, free: 3.723 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/0.5321, allocations: 49.31 kB / 1.527 GB, free: 3.672 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.706e-05/0.5322, allocations: 59.94 kB / 1.527 GB, free: 3.613 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009605/0.5331, allocations: 0.5921 MB / 1.528 GB, free: 3.02 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.5332, allocations: 0 / 1.528 GB, free: 3.02 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.215e-05/0.5332, allocations: 20 kB / 1.528 GB, free: 3 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.104e-05/0.5332, allocations: 21.31 kB / 1.528 GB, free: 2.977 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008444/0.5341, allocations: 0.5009 MB / 1.528 GB, free: 2.473 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003156/0.5372, allocations: 2.492 MB / 1.531 GB, free: 15.77 MB / 1.233 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007553/0.538, allocations: 420.4 kB / 1.531 GB, free: 15.35 MB / 1.233 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.5383, allocations: 204.8 kB / 1.531 GB, free: 15.14 MB / 1.233 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.5384, allocations: 27.98 kB / 1.532 GB, free: 15.12 MB / 1.233 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.5385, allocations: 34.56 kB / 1.532 GB, free: 15.07 MB / 1.233 GB Notification: Performance of pre-optimization done (n=43): time 1.343e-06/0.5385, allocations: 0 / 1.532 GB, free: 15.07 MB / 1.233 GB Notification: Performance of matching and sorting (n=48): time 0.002647/0.5411, allocations: 1.381 MB / 1.533 GB, free: 13.66 MB / 1.233 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.5412, allocations: 59.84 kB / 1.533 GB, free: 13.59 MB / 1.233 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005907/0.5418, allocations: 0.5382 MB / 1.533 GB, free: 13.04 MB / 1.233 GB Notification: Performance of collectPreVariables (initialization): time 4.493e-05/0.5418, allocations: 41.7 kB / 1.534 GB, free: 12.99 MB / 1.233 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/0.542, allocations: 333.1 kB / 1.534 GB, free: 12.66 MB / 1.233 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.5422, allocations: 178.4 kB / 1.534 GB, free: 12.49 MB / 1.233 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.5423, allocations: 82.2 kB / 1.534 GB, free: 12.4 MB / 1.233 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.5425, allocations: 378.7 kB / 1.534 GB, free: 12.02 MB / 1.233 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.5428, allocations: 172.9 kB / 1.535 GB, free: 11.86 MB / 1.233 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004135/0.5432, allocations: 260.2 kB / 1.535 GB, free: 11.58 MB / 1.233 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.003152/0.5464, allocations: 1.294 MB / 1.536 GB, free: 10.27 MB / 1.233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5464, allocations: 4 kB / 1.536 GB, free: 10.27 MB / 1.233 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008801/0.5473, allocations: 0.5307 MB / 1.537 GB, free: 9.727 MB / 1.233 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.5473, allocations: 8.156 kB / 1.537 GB, free: 9.719 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5473, allocations: 4 kB / 1.537 GB, free: 9.715 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.5473, allocations: 4 kB / 1.537 GB, free: 9.711 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003999/0.5477, allocations: 95.84 kB / 1.537 GB, free: 9.617 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.5477, allocations: 7.984 kB / 1.537 GB, free: 9.609 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005583/0.5483, allocations: 16 kB / 1.537 GB, free: 9.594 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.48e-05/0.5483, allocations: 23.92 kB / 1.537 GB, free: 9.57 MB / 1.233 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.0003774/0.5487, allocations: 245.7 kB / 1.537 GB, free: 9.32 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.5488, allocations: 75.58 kB / 1.537 GB, free: 9.246 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.549, allocations: 78.45 kB / 1.537 GB, free: 9.168 MB / 1.233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.549, allocations: 4 kB / 1.537 GB, free: 9.164 MB / 1.233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.549, allocations: 0 / 1.537 GB, free: 9.164 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007694/0.5497, allocations: 0.5144 MB / 1.538 GB, free: 8.621 MB / 1.233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/0.5521, allocations: 1.557 MB / 1.539 GB, free: 6.953 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.5522, allocations: 4 kB / 1.539 GB, free: 6.949 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005112/0.5527, allocations: 119.8 kB / 1.539 GB, free: 6.832 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/0.5527, allocations: 4.625 kB / 1.539 GB, free: 6.828 MB / 1.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/0.5527, allocations: 24 kB / 1.539 GB, free: 6.805 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.5527, allocations: 4 kB / 1.539 GB, free: 6.801 MB / 1.233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/0.5527, allocations: 15.88 kB / 1.539 GB, free: 6.785 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.554, allocations: 0.8951 MB / 1.54 GB, free: 5.809 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003039/0.5543, allocations: 123.6 kB / 1.54 GB, free: 5.688 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.729e-05/0.5544, allocations: 19.98 kB / 1.54 GB, free: 5.668 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004964/0.5549, allocations: 24.95 kB / 1.54 GB, free: 5.645 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.318e-05/0.555, allocations: 47.75 kB / 1.54 GB, free: 5.598 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/0.555, allocations: 23.98 kB / 1.54 GB, free: 5.574 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.0005229/0.5555, allocations: 398.8 kB / 1.541 GB, free: 5.188 MB / 1.233 GB Notification: Performance of sort global known variables: time 1e-07/0.5555, allocations: 4 kB / 1.541 GB, free: 5.184 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.0006688/0.5562, allocations: 203.9 kB / 1.541 GB, free: 4.984 MB / 1.233 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.0003779/0.5566, allocations: 177.8 kB / 1.541 GB, free: 4.805 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.0008135/0.5574, allocations: 421.2 kB / 1.542 GB, free: 4.395 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5574, allocations: 4 kB / 1.542 GB, free: 4.391 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.0003508/0.5578, allocations: 224.8 kB / 1.542 GB, free: 4.172 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/0.5597, allocations: 498.4 kB / 1.542 GB, free: 3.695 MB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.5622, allocations: 1.626 MB / 1.544 GB, free: 1.969 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000733/0.563, allocations: 0.9773 MB / 1.545 GB, free: 0.9648 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.5631, allocations: 59.44 kB / 1.545 GB, free: 0.9062 MB / 1.233 GB Notification: Performance of SimCode: time 4.7e-07/0.5631, allocations: 3.938 kB / 1.545 GB, free: 0.9023 MB / 1.233 GB Notification: Performance of Templates: time 0.0173/0.5804, allocations: 11.71 MB / 1.556 GB, free: 5.281 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/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: 12.259173063997878]