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.001478/0.001478, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001644/0.001644, allocations: 217.5 kB / 22.26 MB, free: 5.082 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.326/1.326, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 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 2.901/2.901, allocations: 0.505 GB / 0.8101 GB, free: 21.99 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.001848/0.001848, allocations: 66.14 kB / 1.177 GB, free: 17.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3047, allocations: 180.2 MB / 1.353 GB, free: 8.5 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2017/0.5064, allocations: 185.8 MB / 1.534 GB, free: 14.05 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.008208/0.5146, allocations: 5.405 MB / 1.54 GB, free: 8.629 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008169/0.5154, allocations: 47.56 kB / 1.54 GB, free: 8.582 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.5165, allocations: 457.4 kB / 1.54 GB, free: 8.133 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.003744/0.5203, allocations: 1.774 MB / 1.542 GB, free: 6.352 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.5221, allocations: 0.8441 MB / 1.543 GB, free: 5.512 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.002789/0.5249, allocations: 2.28 MB / 1.545 GB, free: 3.223 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007701/0.5257, allocations: 0.5451 MB / 1.545 GB, free: 2.668 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.5273, allocations: 0.9889 MB / 1.546 GB, free: 1.676 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.5289, allocations: 0.7374 MB / 1.547 GB, free: 0.9453 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.529, allocations: 72 kB / 1.547 GB, free: 0.875 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002521/0.5315, allocations: 1.493 MB / 1.549 GB, free: 15.38 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.000363/0.5318, allocations: 334.9 kB / 1.549 GB, free: 15.05 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0004778/0.5323, allocations: 469.9 kB / 1.549 GB, free: 14.59 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.002156/0.5345, allocations: 1.67 MB / 1.551 GB, free: 12.91 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5345, allocations: 0 / 1.551 GB, free: 12.91 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5345, allocations: 4 kB / 1.551 GB, free: 12.91 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.695e-05/0.5345, allocations: 0 / 1.551 GB, free: 12.91 MB / 1.248 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.001778/0.5363, allocations: 1.134 MB / 1.552 GB, free: 11.74 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.5363, allocations: 12.03 kB / 1.552 GB, free: 11.73 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/0.5364, allocations: 102.5 kB / 1.552 GB, free: 11.62 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.5381, allocations: 279.2 kB / 1.552 GB, free: 11.34 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.5393, allocations: 0.6383 MB / 1.553 GB, free: 10.68 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.178e-05/0.5393, allocations: 45.31 kB / 1.553 GB, free: 10.63 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.5394, allocations: 64 kB / 1.553 GB, free: 10.57 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009783/0.5404, allocations: 0.5804 MB / 1.554 GB, free: 9.988 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.5404, allocations: 3.938 kB / 1.554 GB, free: 9.984 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.495e-05/0.5405, allocations: 28 kB / 1.554 GB, free: 9.957 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.393e-05/0.5405, allocations: 25.3 kB / 1.554 GB, free: 9.93 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008978/0.5414, allocations: 0.497 MB / 1.554 GB, free: 9.43 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003268/0.5447, allocations: 2.484 MB / 1.557 GB, free: 6.723 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007777/0.5454, allocations: 421.8 kB / 1.557 GB, free: 6.305 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/0.5458, allocations: 212.7 kB / 1.557 GB, free: 6.094 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/0.5459, allocations: 27.97 kB / 1.557 GB, free: 6.066 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.546, allocations: 38.56 kB / 1.557 GB, free: 6.02 MB / 1.248 GB Notification: Performance of pre-optimization done (n=43): time 1.793e-06/0.546, allocations: 0 / 1.557 GB, free: 6.02 MB / 1.248 GB Notification: Performance of matching and sorting (n=48): time 0.002722/0.5487, allocations: 1.374 MB / 1.559 GB, free: 4.613 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.5487, allocations: 63.77 kB / 1.559 GB, free: 4.539 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006148/0.5493, allocations: 0.5383 MB / 1.559 GB, free: 3.988 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/0.5494, allocations: 41.64 kB / 1.559 GB, free: 3.941 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/0.5497, allocations: 333.1 kB / 1.56 GB, free: 3.613 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.5498, allocations: 174.4 kB / 1.56 GB, free: 3.441 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.55, allocations: 90.14 kB / 1.56 GB, free: 3.348 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.5502, allocations: 378.7 kB / 1.56 GB, free: 2.969 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.5505, allocations: 172.9 kB / 1.56 GB, free: 2.801 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/0.5508, allocations: 256.2 kB / 1.561 GB, free: 2.527 MB / 1.248 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.003221/0.5541, allocations: 1.292 MB / 1.562 GB, free: 1.215 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5541, allocations: 7.875 kB / 1.562 GB, free: 1.207 MB / 1.248 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008652/0.5549, allocations: 0.5346 MB / 1.562 GB, free: 0.668 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.5549, allocations: 4 kB / 1.562 GB, free: 0.6641 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.5549, allocations: 8.156 kB / 1.562 GB, free: 0.6562 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.555, allocations: 4 kB / 1.562 GB, free: 0.6523 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003982/0.5554, allocations: 91.91 kB / 1.563 GB, free: 0.5625 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.5554, allocations: 0 / 1.563 GB, free: 0.5625 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005131/0.5559, allocations: 23.92 kB / 1.563 GB, free: 0.5391 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.5559, allocations: 16 kB / 1.563 GB, free: 0.5234 MB / 1.248 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.0003204/0.5562, allocations: 253.6 kB / 1.563 GB, free: 272 kB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.5564, allocations: 71.58 kB / 1.563 GB, free: 200 kB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.5565, allocations: 82.45 kB / 1.563 GB, free: 116 kB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.5565, allocations: 8 kB / 1.563 GB, free: 108 kB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5565, allocations: 0 / 1.563 GB, free: 108 kB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007443/0.5573, allocations: 0.5105 MB / 1.564 GB, free: 15.56 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.5597, allocations: 1.552 MB / 1.565 GB, free: 13.9 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.5597, allocations: 4 kB / 1.565 GB, free: 13.89 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/0.5602, allocations: 111.8 kB / 1.565 GB, free: 13.79 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/0.5602, allocations: 11.98 kB / 1.565 GB, free: 13.77 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.734e-05/0.5602, allocations: 20.62 kB / 1.565 GB, free: 13.75 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/0.5602, allocations: 15.94 kB / 1.565 GB, free: 13.74 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.251e-05/0.5603, allocations: 11.94 kB / 1.565 GB, free: 13.73 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.5615, allocations: 0.8948 MB / 1.566 GB, free: 12.75 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/0.5618, allocations: 119.6 kB / 1.566 GB, free: 12.64 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.845e-05/0.5619, allocations: 23.98 kB / 1.566 GB, free: 12.61 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004868/0.5624, allocations: 20 kB / 1.566 GB, free: 12.59 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.335e-05/0.5625, allocations: 51.75 kB / 1.566 GB, free: 12.54 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-05/0.5625, allocations: 23.98 kB / 1.566 GB, free: 12.52 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0004687/0.563, allocations: 398.8 kB / 1.567 GB, free: 12.13 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.563, allocations: 0 / 1.567 GB, free: 12.13 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0006122/0.5636, allocations: 200 kB / 1.567 GB, free: 11.94 MB / 1.264 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.00171/0.5653, allocations: 1.529 MB / 1.568 GB, free: 10.33 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0007685/0.5661, allocations: 425.2 kB / 1.569 GB, free: 9.91 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5661, allocations: 0 / 1.569 GB, free: 9.91 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0003639/0.5664, allocations: 224.2 kB / 1.569 GB, free: 9.691 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/0.5684, allocations: 497.8 kB / 1.569 GB, free: 9.219 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00723/0.5756, allocations: 5.509 MB / 1.575 GB, free: 3.469 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006148/0.5763, allocations: 0.9695 MB / 1.576 GB, free: 2.469 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0005242/0.5768, allocations: 165.8 kB / 1.576 GB, free: 2.305 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003525/0.5771, allocations: 251.4 kB / 1.576 GB, free: 2.059 MB / 1.264 GB Notification: Performance of SimCode: time 8.22e-07/0.5771, allocations: 0 / 1.576 GB, free: 2.059 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05402/0.6312, allocations: 20.84 MB / 1.597 GB, free: 13.52 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.47, allocations: 0 / 1.597 GB, free: 13.52 MB / 1.295 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: 17.983487359999344]