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.001485/0.001485, allocations: 99.66 kB / 18.94 MB, free: 2.84 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 kB / 22.24 MB, free: 5.109 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.358/1.358, allocations: 230.6 MB / 256 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 2.984/2.984, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) [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.001945/0.001945, allocations: 65.45 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3026, allocations: 176.1 MB / 1.325 GB, free: 2.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1967/0.4992, allocations: 160.7 MB / 1.482 GB, free: 1.078 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.008671/0.5079, allocations: 5.073 MB / 1.487 GB, free: 12 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009405/0.5088, allocations: 47.62 kB / 1.487 GB, free: 11.95 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.51, allocations: 429.4 kB / 1.487 GB, free: 11.53 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004147/0.5141, allocations: 1.748 MB / 1.489 GB, free: 9.773 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.5161, allocations: 0.8171 MB / 1.49 GB, free: 8.961 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003052/0.5192, allocations: 2.255 MB / 1.492 GB, free: 6.699 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009477/0.5201, allocations: 0.5373 MB / 1.493 GB, free: 6.148 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002006/0.5221, allocations: 0.9927 MB / 1.494 GB, free: 5.152 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001795/0.5239, allocations: 0.7016 MB / 1.494 GB, free: 4.461 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.5241, allocations: 76 kB / 1.494 GB, free: 4.387 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002611/0.5267, allocations: 1.149 MB / 1.495 GB, free: 3.234 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004359/0.5271, allocations: 331 kB / 1.496 GB, free: 2.91 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006279/0.5277, allocations: 386.4 kB / 1.496 GB, free: 2.531 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002657/0.5304, allocations: 1.631 MB / 1.498 GB, free: 0.8945 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.5304, allocations: 0 / 1.498 GB, free: 0.8945 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5304, allocations: 0 / 1.498 GB, free: 0.8945 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.5304, allocations: 4 kB / 1.498 GB, free: 0.8906 MB / 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.001876/0.5323, allocations: 1.135 MB / 1.499 GB, free: 15.71 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.5323, allocations: 11.97 kB / 1.499 GB, free: 15.7 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001204/0.5324, allocations: 102.5 kB / 1.499 GB, free: 15.59 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/0.5342, allocations: 279.1 kB / 1.499 GB, free: 15.32 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.5354, allocations: 0.646 MB / 1.5 GB, free: 14.65 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.734e-05/0.5355, allocations: 49.3 kB / 1.5 GB, free: 14.6 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.5356, allocations: 60 kB / 1.5 GB, free: 14.54 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.5368, allocations: 0.7812 MB / 1.501 GB, free: 13.71 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.5368, allocations: 4 kB / 1.501 GB, free: 13.7 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.863e-05/0.5368, allocations: 28 kB / 1.501 GB, free: 13.68 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.862e-05/0.5369, allocations: 25.3 kB / 1.501 GB, free: 13.65 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008877/0.5378, allocations: 0.4931 MB / 1.501 GB, free: 13.15 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003013/0.5408, allocations: 1.582 MB / 1.503 GB, free: 11.53 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007888/0.5416, allocations: 414.8 kB / 1.503 GB, free: 11.11 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003456/0.5419, allocations: 212.8 kB / 1.503 GB, free: 10.9 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001584/0.5421, allocations: 23.97 kB / 1.503 GB, free: 10.88 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.5421, allocations: 38.56 kB / 1.503 GB, free: 10.83 MB / 1.201 GB Notification: Performance of pre-optimization done (n=43): time 2.304e-06/0.5421, allocations: 0 / 1.503 GB, free: 10.83 MB / 1.201 GB Notification: Performance of matching and sorting (n=48): time 0.002843/0.5449, allocations: 1.373 MB / 1.505 GB, free: 9.426 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.545, allocations: 55.84 kB / 1.505 GB, free: 9.359 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000668/0.5457, allocations: 0.5498 MB / 1.505 GB, free: 8.797 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.914e-05/0.5457, allocations: 37.7 kB / 1.505 GB, free: 8.754 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/0.546, allocations: 325.2 kB / 1.506 GB, free: 8.434 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.5462, allocations: 182.4 kB / 1.506 GB, free: 8.254 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.5463, allocations: 98.14 kB / 1.506 GB, free: 8.152 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.5465, allocations: 370.8 kB / 1.506 GB, free: 7.781 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.5468, allocations: 172.9 kB / 1.507 GB, free: 7.613 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004577/0.5473, allocations: 359 kB / 1.507 GB, free: 7.215 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.003288/0.5506, allocations: 1.296 MB / 1.508 GB, free: 5.902 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5506, allocations: 0 / 1.508 GB, free: 5.902 MB / 1.201 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008845/0.5514, allocations: 0.5268 MB / 1.509 GB, free: 5.367 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.5515, allocations: 8 kB / 1.509 GB, free: 5.359 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5515, allocations: 0 / 1.509 GB, free: 5.359 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.5515, allocations: 8 kB / 1.509 GB, free: 5.352 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/0.5519, allocations: 95.89 kB / 1.509 GB, free: 5.258 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.5519, allocations: 8.156 kB / 1.509 GB, free: 5.25 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006067/0.5525, allocations: 17.5 kB / 1.509 GB, free: 5.234 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/0.5526, allocations: 23.92 kB / 1.509 GB, free: 5.211 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.0004076/0.553, allocations: 254.3 kB / 1.509 GB, free: 4.953 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.5531, allocations: 71.52 kB / 1.509 GB, free: 4.883 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.5533, allocations: 78.45 kB / 1.509 GB, free: 4.805 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.5533, allocations: 4 kB / 1.509 GB, free: 4.801 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.5533, allocations: 0 / 1.509 GB, free: 4.801 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008122/0.5541, allocations: 0.5144 MB / 1.51 GB, free: 4.258 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/0.5566, allocations: 1.444 MB / 1.511 GB, free: 2.703 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.5566, allocations: 4 kB / 1.511 GB, free: 2.699 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005159/0.5571, allocations: 111.9 kB / 1.511 GB, free: 2.59 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.5571, allocations: 4 kB / 1.511 GB, free: 2.586 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/0.5571, allocations: 20 kB / 1.511 GB, free: 2.566 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.537e-05/0.5572, allocations: 19.86 kB / 1.511 GB, free: 2.547 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5572, allocations: 4 kB / 1.511 GB, free: 2.543 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.5585, allocations: 0.9027 MB / 1.512 GB, free: 1.559 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003291/0.5588, allocations: 127.6 kB / 1.512 GB, free: 1.434 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.539e-05/0.5589, allocations: 12 kB / 1.512 GB, free: 1.422 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005096/0.5594, allocations: 25.14 kB / 1.512 GB, free: 1.398 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.632e-05/0.5595, allocations: 51.81 kB / 1.512 GB, free: 1.348 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.5595, allocations: 20 kB / 1.512 GB, free: 1.328 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0005043/0.56, allocations: 394.8 kB / 1.513 GB, free: 0.9453 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.56, allocations: 0 / 1.513 GB, free: 0.9453 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006992/0.5607, allocations: 203.9 kB / 1.513 GB, free: 0.7461 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.001872/0.5626, allocations: 1.52 MB / 1.514 GB, free: 15.14 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0008155/0.5634, allocations: 425.2 kB / 1.515 GB, free: 14.73 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5634, allocations: 0 / 1.515 GB, free: 14.73 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003656/0.5638, allocations: 228.6 kB / 1.515 GB, free: 14.51 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/0.5659, allocations: 0.4918 MB / 1.516 GB, free: 14.03 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008543/0.5745, allocations: 5.511 MB / 1.521 GB, free: 8.273 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.5749, allocations: 383 kB / 1.521 GB, free: 7.875 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0006674/0.5756, allocations: 161.8 kB / 1.521 GB, free: 7.715 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003744/0.5759, allocations: 251.4 kB / 1.522 GB, free: 7.469 MB / 1.217 GB Notification: Performance of SimCode: time 1.052e-06/0.5759, allocations: 0 / 1.522 GB, free: 7.469 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06107/0.637, allocations: 22.68 MB / 1.544 GB, free: 1.312 MB / 1.233 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.91, allocations: 7.375 kB / 1.544 GB, free: 1.309 MB / 1.233 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv","/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] "Error: Could not read variable volSim.T in file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv. Warning: Get data of variable volSim.T from file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv failed! Error: Could not read variable volExa.T in file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv. Warning: Get data of variable volExa.T from file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv failed! Error: Could not read variable relErr.y in file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv. Warning: Get data of variable relErr.y from file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.127078550867736]