Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00122/0.00122, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001327/0.001327, allocations: 209.4 kB / 22.24 MB, free: 5.262 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.345/1.345, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.133/3.133, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_latest_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.002067/0.002067, allocations: 64.5 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3272, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.195/0.5222, allocations: 160.7 MB / 1.52 GB, free: 12.82 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.008815/0.531, allocations: 5.071 MB / 1.525 GB, free: 7.73 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.5321, allocations: 47.56 kB / 1.525 GB, free: 7.684 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.5334, allocations: 421.5 kB / 1.526 GB, free: 7.27 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004559/0.5379, allocations: 1.746 MB / 1.527 GB, free: 5.516 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.5402, allocations: 0.8191 MB / 1.528 GB, free: 4.703 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003351/0.5435, allocations: 2.25 MB / 1.53 GB, free: 2.449 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.5447, allocations: 0.5451 MB / 1.531 GB, free: 1.891 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002218/0.5469, allocations: 0.9928 MB / 1.532 GB, free: 0.8945 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002404/0.5493, allocations: 0.6976 MB / 1.533 GB, free: 212 kB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002368/0.5496, allocations: 76 kB / 1.533 GB, free: 136 kB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002713/0.5523, allocations: 1.141 MB / 1.534 GB, free: 14.99 MB / 1.233 GB Notification: Performance of NFScalarize.scalarize: time 0.0004915/0.5528, allocations: 339 kB / 1.534 GB, free: 14.66 MB / 1.233 GB Notification: Performance of NFVerifyModel.verify: time 0.0008192/0.5536, allocations: 390.3 kB / 1.534 GB, free: 14.27 MB / 1.233 GB Notification: Performance of NFConvertDAE.convert: time 0.003276/0.5569, allocations: 1.639 MB / 1.536 GB, free: 12.63 MB / 1.233 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.5569, allocations: 0 / 1.536 GB, free: 12.63 MB / 1.233 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5569, allocations: 0 / 1.536 GB, free: 12.63 MB / 1.233 GB Notification: Performance of Transformations before backend: time 4.256e-05/0.5569, allocations: 3.938 kB / 1.536 GB, free: 12.62 MB / 1.233 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.002363/0.5593, allocations: 1.131 MB / 1.537 GB, free: 11.46 MB / 1.233 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.5593, allocations: 11.97 kB / 1.537 GB, free: 11.45 MB / 1.233 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001534/0.5595, allocations: 98.52 kB / 1.537 GB, free: 11.34 MB / 1.233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/0.5613, allocations: 279.2 kB / 1.538 GB, free: 11.07 MB / 1.233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.5627, allocations: 0.6422 MB / 1.538 GB, free: 10.4 MB / 1.233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/0.5627, allocations: 45.31 kB / 1.538 GB, free: 10.35 MB / 1.233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.5628, allocations: 60 kB / 1.538 GB, free: 10.29 MB / 1.233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.564, allocations: 0.7851 MB / 1.539 GB, free: 9.453 MB / 1.233 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.5641, allocations: 3.984 kB / 1.539 GB, free: 9.449 MB / 1.233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.909e-05/0.5641, allocations: 24 kB / 1.539 GB, free: 9.426 MB / 1.233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.423e-05/0.5642, allocations: 21.31 kB / 1.539 GB, free: 9.402 MB / 1.233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009354/0.5651, allocations: 0.497 MB / 1.54 GB, free: 8.906 MB / 1.233 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003211/0.5683, allocations: 1.586 MB / 1.541 GB, free: 7.277 MB / 1.233 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008516/0.5691, allocations: 418.7 kB / 1.542 GB, free: 6.859 MB / 1.233 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003649/0.5695, allocations: 210.9 kB / 1.542 GB, free: 6.652 MB / 1.233 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/0.5697, allocations: 27.97 kB / 1.542 GB, free: 6.625 MB / 1.233 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.5697, allocations: 38.56 kB / 1.542 GB, free: 6.578 MB / 1.233 GB Notification: Performance of pre-optimization done (n=43): time 2.185e-06/0.5697, allocations: 0 / 1.542 GB, free: 6.578 MB / 1.233 GB Notification: Performance of matching and sorting (n=48): time 0.003083/0.5728, allocations: 1.374 MB / 1.543 GB, free: 5.172 MB / 1.233 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.5728, allocations: 59.84 kB / 1.543 GB, free: 5.102 MB / 1.233 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007151/0.5735, allocations: 0.5421 MB / 1.544 GB, free: 4.547 MB / 1.233 GB Notification: Performance of collectPreVariables (initialization): time 5.607e-05/0.5736, allocations: 37.7 kB / 1.544 GB, free: 4.504 MB / 1.233 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/0.5739, allocations: 333.1 kB / 1.544 GB, free: 4.176 MB / 1.233 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.5741, allocations: 178.4 kB / 1.544 GB, free: 4 MB / 1.233 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.5742, allocations: 86.19 kB / 1.544 GB, free: 3.91 MB / 1.233 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.5744, allocations: 374.7 kB / 1.545 GB, free: 3.535 MB / 1.233 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.5747, allocations: 172.9 kB / 1.545 GB, free: 3.367 MB / 1.233 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004973/0.5752, allocations: 363 kB / 1.545 GB, free: 2.961 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.003378/0.5786, allocations: 1.293 MB / 1.546 GB, free: 1.656 MB / 1.233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.5786, allocations: 4 kB / 1.546 GB, free: 1.652 MB / 1.233 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000958/0.5796, allocations: 0.5308 MB / 1.547 GB, free: 1.113 MB / 1.233 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.5796, allocations: 8 kB / 1.547 GB, free: 1.105 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5796, allocations: 0 / 1.547 GB, free: 1.105 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.5796, allocations: 8 kB / 1.547 GB, free: 1.098 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004185/0.58, allocations: 95.83 kB / 1.547 GB, free: 1.004 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.58, allocations: 4 kB / 1.547 GB, free: 1 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006202/0.5807, allocations: 15.94 kB / 1.547 GB, free: 0.9844 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.967e-05/0.5807, allocations: 23.92 kB / 1.547 GB, free: 0.9609 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.0003975/0.5811, allocations: 257.7 kB / 1.547 GB, free: 0.6992 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.5813, allocations: 67.58 kB / 1.547 GB, free: 0.6328 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.5814, allocations: 82.45 kB / 1.548 GB, free: 0.5508 MB / 1.233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.5814, allocations: 4 kB / 1.548 GB, free: 0.5469 MB / 1.233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.5814, allocations: 0 / 1.548 GB, free: 0.5469 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007968/0.5822, allocations: 0.5183 MB / 1.548 GB, free: 15.99 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00262/0.5849, allocations: 1.439 MB / 1.549 GB, free: 14.44 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.5849, allocations: 4 kB / 1.549 GB, free: 14.44 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005144/0.5854, allocations: 111.8 kB / 1.55 GB, free: 14.33 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.5854, allocations: 8.625 kB / 1.55 GB, free: 14.32 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.095e-05/0.5854, allocations: 23.94 kB / 1.55 GB, free: 14.3 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.385e-05/0.5855, allocations: 15.97 kB / 1.55 GB, free: 14.28 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.415e-06/0.5855, allocations: 11.88 kB / 1.55 GB, free: 14.27 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.5868, allocations: 0.8949 MB / 1.55 GB, free: 13.3 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003775/0.5871, allocations: 123.5 kB / 1.551 GB, free: 13.18 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.5873, allocations: 20 kB / 1.551 GB, free: 13.16 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005579/0.5878, allocations: 19.98 kB / 1.551 GB, free: 13.14 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.5879, allocations: 51.75 kB / 1.551 GB, free: 13.09 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.888e-05/0.588, allocations: 28 kB / 1.551 GB, free: 13.06 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0005537/0.5885, allocations: 390.8 kB / 1.551 GB, free: 12.68 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.5885, allocations: 0 / 1.551 GB, free: 12.68 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0007504/0.5893, allocations: 207.9 kB / 1.551 GB, free: 12.48 MB / 1.248 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.001972/0.5913, allocations: 1.513 MB / 1.553 GB, free: 10.88 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0008541/0.5921, allocations: 421.2 kB / 1.553 GB, free: 10.47 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/0.5921, allocations: 4.312 kB / 1.553 GB, free: 10.46 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.000383/0.5925, allocations: 227.6 kB / 1.553 GB, free: 10.24 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/0.5947, allocations: 496.5 kB / 1.554 GB, free: 9.77 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008067/0.6028, allocations: 5.498 MB / 1.559 GB, free: 4.035 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.6032, allocations: 383 kB / 1.56 GB, free: 3.633 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0006186/0.6038, allocations: 161.8 kB / 1.56 GB, free: 3.473 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/0.6042, allocations: 251.4 kB / 1.56 GB, free: 3.23 MB / 1.248 GB Notification: Performance of SimCode: time 7.41e-07/0.6042, allocations: 0 / 1.56 GB, free: 3.23 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05908/0.6633, allocations: 22.69 MB / 1.582 GB, free: 13.05 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.81, allocations: 1.875 kB / 1.582 GB, free: 13.05 MB / 1.279 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv. Warning: Get data of variable volSim.T from file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv failed! Error: Could not read variable volExa.T in file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv. Warning: Get data of variable volExa.T from file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv failed! Error: Could not read variable relErr.y in file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv. Warning: Get data of variable relErr.y from file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.248784428928047]