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.001283/0.001283, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001415/0.001415, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.41/1.41, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.149/3.149, allocations: 0.49 GB / 0.7916 GB, free: 33.52 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.002114/0.002114, allocations: 69.06 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3124, allocations: 176.1 MB / 1.321 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2074/0.5198, allocations: 185.5 MB / 1.502 GB, free: 9.137 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.008824/0.5286, allocations: 5.39 MB / 1.507 GB, free: 3.734 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.5297, allocations: 43.62 kB / 1.507 GB, free: 3.691 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.531, allocations: 465.3 kB / 1.508 GB, free: 3.234 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004278/0.5352, allocations: 1.739 MB / 1.509 GB, free: 1.488 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.5373, allocations: 0.8078 MB / 1.51 GB, free: 0.6875 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003137/0.5404, allocations: 2.207 MB / 1.512 GB, free: 14.47 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009077/0.5414, allocations: 0.5836 MB / 1.513 GB, free: 13.88 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.5432, allocations: 0.9849 MB / 1.514 GB, free: 12.89 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001801/0.545, allocations: 0.7331 MB / 1.515 GB, free: 12.17 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.5452, allocations: 76 kB / 1.515 GB, free: 12.09 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002845/0.548, allocations: 1.473 MB / 1.516 GB, free: 10.62 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004153/0.5484, allocations: 327 kB / 1.516 GB, free: 10.3 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.000661/0.5491, allocations: 469.9 kB / 1.517 GB, free: 9.836 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003196/0.5523, allocations: 1.674 MB / 1.518 GB, free: 8.156 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.5523, allocations: 4 kB / 1.518 GB, free: 8.152 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.545e-06/0.5523, allocations: 0 / 1.518 GB, free: 8.152 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.586e-05/0.5523, allocations: 0 / 1.518 GB, free: 8.152 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.002131/0.5545, allocations: 1.202 MB / 1.52 GB, free: 6.895 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.5545, allocations: 11.98 kB / 1.52 GB, free: 6.883 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001436/0.5547, allocations: 106.5 kB / 1.52 GB, free: 6.77 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/0.5565, allocations: 271.2 kB / 1.52 GB, free: 6.504 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.5578, allocations: 0.726 MB / 1.521 GB, free: 5.734 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.347e-05/0.5578, allocations: 41.31 kB / 1.521 GB, free: 5.695 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.5579, allocations: 63.94 kB / 1.521 GB, free: 5.633 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.559, allocations: 0.5765 MB / 1.521 GB, free: 5.051 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.559, allocations: 7.984 kB / 1.521 GB, free: 5.043 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.921e-05/0.5591, allocations: 28 kB / 1.521 GB, free: 5.016 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-05/0.5591, allocations: 21.31 kB / 1.521 GB, free: 4.996 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009352/0.5601, allocations: 0.497 MB / 1.522 GB, free: 4.496 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003554/0.5636, allocations: 2.535 MB / 1.524 GB, free: 1.73 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008193/0.5644, allocations: 414.8 kB / 1.525 GB, free: 1.316 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003446/0.5648, allocations: 208.8 kB / 1.525 GB, free: 1.109 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001919/0.565, allocations: 101.1 kB / 1.525 GB, free: 0.9922 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.565, allocations: 38.56 kB / 1.525 GB, free: 0.9453 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/0.565, allocations: 0 / 1.525 GB, free: 0.9453 MB / 1.217 GB Notification: Performance of matching and sorting (n=48): time 0.003039/0.5681, allocations: 1.456 MB / 1.527 GB, free: 15.44 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.5681, allocations: 55.84 kB / 1.527 GB, free: 15.37 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006805/0.5688, allocations: 0.5383 MB / 1.527 GB, free: 14.82 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.5688, allocations: 37.7 kB / 1.527 GB, free: 14.78 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/0.5691, allocations: 329.1 kB / 1.527 GB, free: 14.45 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.5693, allocations: 186.4 kB / 1.528 GB, free: 14.27 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.5694, allocations: 94.2 kB / 1.528 GB, free: 14.17 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.5696, allocations: 374.7 kB / 1.528 GB, free: 13.8 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.5699, allocations: 177 kB / 1.528 GB, free: 13.62 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003962/0.5703, allocations: 256.8 kB / 1.529 GB, free: 13.34 MB / 1.232 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.003607/0.5739, allocations: 1.448 MB / 1.53 GB, free: 11.84 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5739, allocations: 0 / 1.53 GB, free: 11.84 MB / 1.232 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000997/0.5749, allocations: 0.5269 MB / 1.53 GB, free: 11.31 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.5749, allocations: 4 kB / 1.53 GB, free: 11.3 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.5749, allocations: 4 kB / 1.53 GB, free: 11.3 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.575, allocations: 0 / 1.53 GB, free: 11.3 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004241/0.5754, allocations: 96.05 kB / 1.531 GB, free: 11.21 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.5754, allocations: 11.94 kB / 1.531 GB, free: 11.2 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006494/0.576, allocations: 30.06 kB / 1.531 GB, free: 11.17 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/0.5761, allocations: 16 kB / 1.531 GB, free: 11.15 MB / 1.232 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.0003908/0.5765, allocations: 241.7 kB / 1.531 GB, free: 10.91 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.5766, allocations: 71.58 kB / 1.531 GB, free: 10.84 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.5768, allocations: 78.45 kB / 1.531 GB, free: 10.76 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.5768, allocations: 4 kB / 1.531 GB, free: 10.75 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.5768, allocations: 4 kB / 1.531 GB, free: 10.75 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007865/0.5776, allocations: 0.5183 MB / 1.532 GB, free: 10.2 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/0.5801, allocations: 1.581 MB / 1.533 GB, free: 8.504 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.5801, allocations: 4 kB / 1.533 GB, free: 8.5 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005473/0.5807, allocations: 111.9 kB / 1.533 GB, free: 8.391 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.5807, allocations: 8 kB / 1.533 GB, free: 8.383 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/0.5807, allocations: 16 kB / 1.533 GB, free: 8.367 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/0.5807, allocations: 11.94 kB / 1.533 GB, free: 8.355 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.479e-05/0.5807, allocations: 15.92 kB / 1.533 GB, free: 8.34 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.5821, allocations: 0.9032 MB / 1.534 GB, free: 7.355 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002944/0.5823, allocations: 200.7 kB / 1.534 GB, free: 7.141 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.561e-05/0.5824, allocations: 15.94 kB / 1.534 GB, free: 7.125 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005434/0.583, allocations: 23.98 kB / 1.534 GB, free: 7.102 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.468e-05/0.5831, allocations: 51.77 kB / 1.534 GB, free: 7.051 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/0.5831, allocations: 24 kB / 1.534 GB, free: 7.027 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0004851/0.5836, allocations: 390.8 kB / 1.535 GB, free: 6.648 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.5836, allocations: 4 kB / 1.535 GB, free: 6.645 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0006953/0.5843, allocations: 200 kB / 1.535 GB, free: 6.449 MB / 1.232 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.001847/0.5862, allocations: 1.514 MB / 1.536 GB, free: 4.852 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0008564/0.587, allocations: 429.2 kB / 1.537 GB, free: 4.434 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.587, allocations: 0 / 1.537 GB, free: 4.434 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003834/0.5874, allocations: 229.1 kB / 1.537 GB, free: 4.211 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/0.5897, allocations: 0.4974 MB / 1.538 GB, free: 3.73 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008592/0.5983, allocations: 5.501 MB / 1.543 GB, free: 13.98 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007131/0.599, allocations: 0.9733 MB / 1.544 GB, free: 12.98 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0006357/0.5996, allocations: 161.8 kB / 1.544 GB, free: 12.82 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004131/0.6001, allocations: 251.4 kB / 1.544 GB, free: 12.57 MB / 1.248 GB Notification: Performance of SimCode: time 1.233e-06/0.6001, allocations: 0 / 1.544 GB, free: 12.57 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05409/0.6541, allocations: 20.41 MB / 1.564 GB, free: 8.512 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.842/9.496, allocations: 4.969 kB / 1.564 GB, free: 8.512 MB / 1.264 GB " [Timeout remaining time 290] (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: 15.955441127996892]