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.001221/0.001221, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001381/0.001381, allocations: 216.9 kB / 22.25 MB, free: 5.105 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.376/1.376, allocations: 230.6 MB / 256 MB, free: 7.805 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.045/3.045, allocations: 0.49 GB / 0.7951 GB, free: 35.53 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.002002/0.002002, allocations: 64.59 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3579, allocations: 176.1 MB / 1.326 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1929/0.5508, allocations: 160.7 MB / 1.483 GB, free: 176 kB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.00887/0.5596, allocations: 5.072 MB / 1.488 GB, free: 11.09 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.5608, allocations: 47.62 kB / 1.488 GB, free: 11.05 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.5621, allocations: 421.4 kB / 1.488 GB, free: 10.63 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004542/0.5666, allocations: 1.758 MB / 1.49 GB, free: 8.871 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002204/0.5688, allocations: 0.8358 MB / 1.491 GB, free: 8.039 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003408/0.5722, allocations: 2.281 MB / 1.493 GB, free: 5.75 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009056/0.5731, allocations: 0.5412 MB / 1.493 GB, free: 5.195 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001999/0.5751, allocations: 0.9927 MB / 1.494 GB, free: 4.199 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/0.5771, allocations: 0.7259 MB / 1.495 GB, free: 3.48 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.5773, allocations: 76 kB / 1.495 GB, free: 3.406 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002529/0.5798, allocations: 1.161 MB / 1.496 GB, free: 2.242 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004214/0.5802, allocations: 334.9 kB / 1.497 GB, free: 1.914 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000559/0.5808, allocations: 390.4 kB / 1.497 GB, free: 1.531 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002843/0.5836, allocations: 1.627 MB / 1.499 GB, free: 15.9 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5836, allocations: 0 / 1.499 GB, free: 15.9 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5836, allocations: 0 / 1.499 GB, free: 15.9 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.437e-05/0.5836, allocations: 3.938 kB / 1.499 GB, free: 15.89 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.00191/0.5855, allocations: 1.131 MB / 1.5 GB, free: 14.73 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.5856, allocations: 8.031 kB / 1.5 GB, free: 14.72 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001239/0.5857, allocations: 98.52 kB / 1.5 GB, free: 14.61 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/0.5875, allocations: 287.1 kB / 1.5 GB, free: 14.33 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.5888, allocations: 0.6461 MB / 1.501 GB, free: 13.66 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.022e-05/0.5888, allocations: 45.31 kB / 1.501 GB, free: 13.61 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.5889, allocations: 60 kB / 1.501 GB, free: 13.55 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.5901, allocations: 0.789 MB / 1.502 GB, free: 12.71 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.5901, allocations: 0 / 1.502 GB, free: 12.71 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.145e-05/0.5901, allocations: 28 kB / 1.502 GB, free: 12.68 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.451e-05/0.5902, allocations: 21.31 kB / 1.502 GB, free: 12.66 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008705/0.591, allocations: 0.497 MB / 1.502 GB, free: 12.16 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002983/0.594, allocations: 1.578 MB / 1.504 GB, free: 10.54 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007871/0.5948, allocations: 414.8 kB / 1.504 GB, free: 10.12 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/0.5951, allocations: 210.6 kB / 1.504 GB, free: 9.918 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.5953, allocations: 27.91 kB / 1.504 GB, free: 9.891 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.5953, allocations: 42.56 kB / 1.504 GB, free: 9.84 MB / 1.201 GB Notification: Performance of pre-optimization done (n=43): time 2.054e-06/0.5953, allocations: 0 / 1.504 GB, free: 9.84 MB / 1.201 GB Notification: Performance of matching and sorting (n=48): time 0.002925/0.5982, allocations: 1.369 MB / 1.506 GB, free: 8.438 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.5983, allocations: 59.84 kB / 1.506 GB, free: 8.367 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006676/0.599, allocations: 0.546 MB / 1.506 GB, free: 7.809 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.599, allocations: 37.7 kB / 1.506 GB, free: 7.766 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/0.5993, allocations: 325.2 kB / 1.507 GB, free: 7.445 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.5994, allocations: 178.4 kB / 1.507 GB, free: 7.27 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.5996, allocations: 94.14 kB / 1.507 GB, free: 7.172 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.5997, allocations: 370.7 kB / 1.507 GB, free: 6.801 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/0.6, allocations: 180.9 kB / 1.507 GB, free: 6.625 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004304/0.6005, allocations: 362.9 kB / 1.508 GB, free: 6.223 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.003195/0.6037, allocations: 1.292 MB / 1.509 GB, free: 4.914 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6037, allocations: 4 kB / 1.509 GB, free: 4.91 MB / 1.201 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009443/0.6046, allocations: 0.523 MB / 1.51 GB, free: 4.379 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.6046, allocations: 8 kB / 1.51 GB, free: 4.371 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.6046, allocations: 0 / 1.51 GB, free: 4.371 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.6047, allocations: 7.984 kB / 1.51 GB, free: 4.363 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.6051, allocations: 95.91 kB / 1.51 GB, free: 4.27 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.6051, allocations: 4 kB / 1.51 GB, free: 4.266 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005762/0.6056, allocations: 29.16 kB / 1.51 GB, free: 4.238 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.6057, allocations: 16 kB / 1.51 GB, free: 4.223 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.0003764/0.6061, allocations: 254.5 kB / 1.51 GB, free: 3.965 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.6062, allocations: 67.58 kB / 1.51 GB, free: 3.898 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.6063, allocations: 78.45 kB / 1.51 GB, free: 3.82 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.6063, allocations: 4 kB / 1.51 GB, free: 3.816 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.6063, allocations: 0 / 1.51 GB, free: 3.816 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007495/0.6071, allocations: 0.5144 MB / 1.511 GB, free: 3.273 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/0.6095, allocations: 1.444 MB / 1.512 GB, free: 1.719 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.6095, allocations: 8.094 kB / 1.512 GB, free: 1.711 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005016/0.61, allocations: 107.9 kB / 1.512 GB, free: 1.605 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/0.6101, allocations: 4 kB / 1.512 GB, free: 1.602 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.944e-05/0.6101, allocations: 23.98 kB / 1.512 GB, free: 1.578 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.996e-06/0.6101, allocations: 7.938 kB / 1.512 GB, free: 1.57 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.207e-05/0.6101, allocations: 15.88 kB / 1.512 GB, free: 1.555 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.6114, allocations: 0.8987 MB / 1.513 GB, free: 0.5742 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003243/0.6117, allocations: 131.6 kB / 1.513 GB, free: 456 kB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.209e-05/0.6118, allocations: 12 kB / 1.513 GB, free: 444 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004819/0.6123, allocations: 20.8 kB / 1.513 GB, free: 424 kB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.802e-05/0.6124, allocations: 55.75 kB / 1.513 GB, free: 368 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.68e-05/0.6124, allocations: 20 kB / 1.513 GB, free: 348 kB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004864/0.6129, allocations: 402.7 kB / 1.514 GB, free: 15.95 MB / 1.217 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6129, allocations: 0 / 1.514 GB, free: 15.95 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006753/0.6136, allocations: 199.9 kB / 1.514 GB, free: 15.75 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.001779/0.6153, allocations: 1.528 MB / 1.515 GB, free: 14.15 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0007851/0.6161, allocations: 421.2 kB / 1.516 GB, free: 13.74 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6161, allocations: 0 / 1.516 GB, free: 13.74 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003685/0.6165, allocations: 229 kB / 1.516 GB, free: 13.52 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.6186, allocations: 0.4903 MB / 1.516 GB, free: 13.03 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007617/0.6262, allocations: 5.509 MB / 1.522 GB, free: 7.277 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.6266, allocations: 379 kB / 1.522 GB, free: 6.883 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0006211/0.6273, allocations: 161.8 kB / 1.522 GB, free: 6.723 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003718/0.6276, allocations: 251.4 kB / 1.523 GB, free: 6.477 MB / 1.217 GB Notification: Performance of SimCode: time 9.81e-07/0.6276, allocations: 0 / 1.523 GB, free: 6.477 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05695/0.6846, allocations: 22.85 MB / 1.545 GB, free: 156 kB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.7, allocations: 6.344 kB / 1.545 GB, free: 152 kB / 1.232 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.123996618000092]