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.0007586/0.0007586, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000846/0.000846, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8388/0.8388, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.741/1.741, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.946e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.6045/0.6045, allocations: 160.6 MB / 1.156 GB, free: 15.05 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.007587/0.6121, allocations: 5.07 MB / 1.161 GB, free: 11.62 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.6132, allocations: 46.16 kB / 1.161 GB, free: 11.59 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.6143, allocations: 425.2 kB / 1.162 GB, free: 11.37 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.003856/0.6182, allocations: 1.791 MB / 1.164 GB, free: 10.38 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.62, allocations: 0.8374 MB / 1.164 GB, free: 9.922 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.002789/0.6228, allocations: 2.258 MB / 1.167 GB, free: 8.863 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007228/0.6235, allocations: 0.5043 MB / 1.167 GB, free: 8.609 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.6254, allocations: 1.239 MB / 1.168 GB, free: 8.055 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001328/0.6267, allocations: 0.6361 MB / 1.169 GB, free: 7.859 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.6269, allocations: 74.28 kB / 1.169 GB, free: 7.859 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/0.6293, allocations: 1.166 MB / 1.17 GB, free: 7.426 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0003591/0.6297, allocations: 346.9 kB / 1.17 GB, free: 7.262 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0004207/0.6301, allocations: 337.8 kB / 1.171 GB, free: 7.121 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.002517/0.6326, allocations: 1.674 MB / 1.172 GB, free: 6.551 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.6326, allocations: 1.562 kB / 1.172 GB, free: 6.551 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6326, allocations: 0 / 1.172 GB, free: 6.551 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.587e-05/0.6326, allocations: 4 kB / 1.172 GB, free: 6.547 MB / 1.026 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.001662/0.6343, allocations: 1.125 MB / 1.174 GB, free: 5.781 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.6343, allocations: 14.12 kB / 1.174 GB, free: 5.781 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/0.6344, allocations: 97.12 kB / 1.174 GB, free: 5.711 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.6355, allocations: 280.3 kB / 1.174 GB, free: 5.641 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.6365, allocations: 0.6413 MB / 1.175 GB, free: 5.25 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.981e-05/0.6366, allocations: 40.75 kB / 1.175 GB, free: 5.234 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.517e-05/0.6367, allocations: 66.55 kB / 1.175 GB, free: 5.211 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008882/0.6376, allocations: 0.7876 MB / 1.175 GB, free: 4.719 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.6376, allocations: 4.797 kB / 1.175 GB, free: 4.715 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.296e-05/0.6376, allocations: 26.14 kB / 1.175 GB, free: 4.695 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.241e-05/0.6376, allocations: 21.03 kB / 1.175 GB, free: 4.695 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006929/0.6383, allocations: 0.4967 MB / 1.176 GB, free: 4.531 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002374/0.6407, allocations: 1.584 MB / 1.178 GB, free: 3.695 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006209/0.6413, allocations: 406.5 kB / 1.178 GB, free: 3.527 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.6416, allocations: 208.7 kB / 1.178 GB, free: 3.445 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.6417, allocations: 29.11 kB / 1.178 GB, free: 3.438 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.6417, allocations: 37.25 kB / 1.178 GB, free: 3.395 MB / 1.026 GB Notification: Performance of pre-optimization done (n=43): time 3.697e-06/0.6417, allocations: 0 / 1.178 GB, free: 3.395 MB / 1.026 GB Notification: Performance of matching and sorting (n=48): time 0.00226/0.644, allocations: 1.378 MB / 1.18 GB, free: 2.699 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.644, allocations: 57.56 kB / 1.18 GB, free: 2.637 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000568/0.6446, allocations: 0.5377 MB / 1.18 GB, free: 2.402 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.6446, allocations: 36.33 kB / 1.18 GB, free: 2.363 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.6448, allocations: 330 kB / 1.18 GB, free: 2.102 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.645, allocations: 177.9 kB / 1.181 GB, free: 1.957 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.6451, allocations: 92.73 kB / 1.181 GB, free: 1.898 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.6452, allocations: 374.6 kB / 1.181 GB, free: 1.559 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.6454, allocations: 178.2 kB / 1.181 GB, free: 1.492 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/0.6457, allocations: 361.6 kB / 1.182 GB, free: 1.23 MB / 1.026 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.001989/0.6477, allocations: 1.296 MB / 1.183 GB, free: 0.7461 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6477, allocations: 0 / 1.183 GB, free: 0.7461 MB / 1.026 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006233/0.6483, allocations: 0.5284 MB / 1.183 GB, free: 0.5117 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.6484, allocations: 5.688 kB / 1.183 GB, free: 0.5117 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.6484, allocations: 2.219 kB / 1.183 GB, free: 0.5117 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.6484, allocations: 3.281 kB / 1.183 GB, free: 0.5117 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.6486, allocations: 94.81 kB / 1.183 GB, free: 0.5039 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.101e-05/0.6487, allocations: 11.28 kB / 1.183 GB, free: 0.4961 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.649, allocations: 20.39 kB / 1.183 GB, free: 496 kB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.649, allocations: 18.91 kB / 1.183 GB, free: 492 kB / 1.026 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.0002843/0.6493, allocations: 244.7 kB / 1.184 GB, free: 308 kB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.718e-05/0.6494, allocations: 71.8 kB / 1.184 GB, free: 272 kB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.437e-05/0.6495, allocations: 79.73 kB / 1.184 GB, free: 212 kB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.6495, allocations: 7.5 kB / 1.184 GB, free: 212 kB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.6495, allocations: 0 / 1.184 GB, free: 212 kB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005251/0.65, allocations: 0.5131 MB / 1.184 GB, free: 15.9 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.6517, allocations: 1.438 MB / 1.186 GB, free: 15.05 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.6517, allocations: 6.609 kB / 1.186 GB, free: 15.05 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.652, allocations: 115.6 kB / 1.186 GB, free: 15.04 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.652, allocations: 6.828 kB / 1.186 GB, free: 15.04 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.6521, allocations: 22.33 kB / 1.186 GB, free: 15.03 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.6521, allocations: 8.094 kB / 1.186 GB, free: 15.03 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/0.6521, allocations: 10.16 kB / 1.186 GB, free: 15.02 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009462/0.653, allocations: 0.9113 MB / 1.187 GB, free: 14.45 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/0.6532, allocations: 126.5 kB / 1.187 GB, free: 14.38 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.6533, allocations: 18.97 kB / 1.187 GB, free: 14.37 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.6535, allocations: 17.36 kB / 1.187 GB, free: 14.37 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.176e-05/0.6536, allocations: 49.8 kB / 1.187 GB, free: 14.35 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.6536, allocations: 23.81 kB / 1.187 GB, free: 14.35 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0003456/0.654, allocations: 393.7 kB / 1.187 GB, free: 14.18 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.9e-07/0.654, allocations: 0 / 1.187 GB, free: 14.18 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0005571/0.6545, allocations: 205.3 kB / 1.188 GB, free: 14.16 MB / 1.042 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.001291/0.6558, allocations: 1.508 MB / 1.189 GB, free: 13.04 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.000558/0.6564, allocations: 439.7 kB / 1.19 GB, free: 12.88 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6564, allocations: 1.625 kB / 1.19 GB, free: 12.88 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.6566, allocations: 226.5 kB / 1.19 GB, free: 12.8 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.6579, allocations: 498.5 kB / 1.19 GB, free: 12.67 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005454/0.6633, allocations: 5.39 MB / 1.195 GB, free: 9.539 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.6636, allocations: 379.6 kB / 1.196 GB, free: 9.414 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0005565/0.6642, allocations: 161.2 kB / 1.196 GB, free: 9.375 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.6644, allocations: 247.1 kB / 1.196 GB, free: 9.199 MB / 1.042 GB Notification: Performance of SimCode: time 1.182e-06/0.6644, allocations: 0 / 1.196 GB, free: 9.199 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03563/0.7001, allocations: 22.61 MB / 1.218 GB, free: 12.04 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.77/7.471, allocations: 3 kB / 1.218 GB, free: 12.04 MB / 1.057 GB " [Timeout remaining time 292] (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/jenkins/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: 11.53012580703944]