Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.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.001739/0.001739, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002185/0.002185, allocations: 213.7 kB / 22.24 MB, free: 5.238 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.595/1.595, allocations: 230.6 MB / 256 MB, free: 7.785 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.348/3.348, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] 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.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ThermalWheels_BaseClasses_Validation_VariableSpeedThermalWheels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ThermalWheels_BaseClasses_Validation_VariableSpeedThermalWheels",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.002069/0.002069, allocations: 65.7 kB / 1.186 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3902, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.005131/0.3953, allocations: 2.671 MB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003666/0.399, allocations: 1.746 MB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.3991, allocations: 11.94 kB / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002098/0.4012, allocations: 0.7031 MB / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004437/0.4016, allocations: 218.5 kB / 1.369 GB, free: 8.734 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.402, allocations: 131.8 kB / 1.369 GB, free: 8.605 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01047/0.4125, allocations: 6.583 MB / 1.375 GB, free: 2.016 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.4126, allocations: 25.28 kB / 1.375 GB, free: 1.984 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.4129, allocations: 203.1 kB / 1.375 GB, free: 1.785 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003387/0.4133, allocations: 242.8 kB / 1.376 GB, free: 1.547 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.637e-05/0.4134, allocations: 28 kB / 1.376 GB, free: 1.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006837/0.414, allocations: 251.7 kB / 1.376 GB, free: 1.273 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007769/0.4148, allocations: 0.6427 MB / 1.377 GB, free: 0.6289 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006292/0.4154, allocations: 0.5085 MB / 1.377 GB, free: 120 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002442/0.4179, allocations: 1.953 MB / 1.379 GB, free: 14.15 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4179, allocations: 0 / 1.379 GB, free: 14.15 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4179, allocations: 0 / 1.379 GB, free: 14.15 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.844e-05/0.4179, allocations: 0 / 1.379 GB, free: 14.15 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.003227/0.4211, allocations: 1.859 MB / 1.381 GB, free: 12.25 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.4212, allocations: 8.031 kB / 1.381 GB, free: 12.24 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.204e-05/0.4212, allocations: 34.75 kB / 1.381 GB, free: 12.2 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.4215, allocations: 175.7 kB / 1.381 GB, free: 12.03 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002346/0.4238, allocations: 1.455 MB / 1.382 GB, free: 10.51 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.711e-05/0.4239, allocations: 19.86 kB / 1.382 GB, free: 10.49 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.4239, allocations: 8 kB / 1.382 GB, free: 10.48 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004588/0.4244, allocations: 293.5 kB / 1.383 GB, free: 10.19 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.4244, allocations: 0 / 1.383 GB, free: 10.19 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.4244, allocations: 4 kB / 1.383 GB, free: 10.19 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4244, allocations: 0 / 1.383 GB, free: 10.19 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007215/0.4251, allocations: 495.8 kB / 1.383 GB, free: 9.703 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002551/0.4277, allocations: 1.423 MB / 1.385 GB, free: 8.23 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006928/0.4284, allocations: 494.3 kB / 1.385 GB, free: 7.738 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003922/0.4288, allocations: 244.8 kB / 1.385 GB, free: 7.496 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.134e-05/0.4288, allocations: 27.98 kB / 1.385 GB, free: 7.469 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.4289, allocations: 34.56 kB / 1.385 GB, free: 7.426 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.893e-06/0.4289, allocations: 0 / 1.385 GB, free: 7.426 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.001499/0.4304, allocations: 0.9146 MB / 1.386 GB, free: 6.504 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.4304, allocations: 51.41 kB / 1.386 GB, free: 6.441 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003184/0.4336, allocations: 2.297 MB / 1.388 GB, free: 4.109 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.4337, allocations: 29.64 kB / 1.389 GB, free: 4.074 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007223/0.4344, allocations: 0.6889 MB / 1.389 GB, free: 3.379 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/0.4344, allocations: 35.7 kB / 1.389 GB, free: 3.344 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.4346, allocations: 125.6 kB / 1.389 GB, free: 3.215 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.4348, allocations: 334.1 kB / 1.39 GB, free: 2.883 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008538/0.4356, allocations: 0.6995 MB / 1.39 GB, free: 2.18 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.4367, allocations: 0.9256 MB / 1.391 GB, free: 1.199 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001776/0.4385, allocations: 1.453 MB / 1.393 GB, free: 15.73 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.4385, allocations: 0 / 1.393 GB, free: 15.73 MB / 1.092 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002238/0.4407, allocations: 1.679 MB / 1.394 GB, free: 14.04 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.4407, allocations: 4 kB / 1.394 GB, free: 14.04 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.4407, allocations: 3.984 kB / 1.394 GB, free: 14.04 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.4408, allocations: 4 kB / 1.394 GB, free: 14.03 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.441, allocations: 48.06 kB / 1.394 GB, free: 13.98 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.441, allocations: 7.938 kB / 1.394 GB, free: 13.98 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006976/0.4417, allocations: 112.4 kB / 1.394 GB, free: 13.87 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.4418, allocations: 16 kB / 1.394 GB, free: 13.85 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (20): * Single equations (assignments): 12 * Array equations: 8 * 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.0007873/0.4425, allocations: 0.4898 MB / 1.395 GB, free: 13.35 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.4428, allocations: 170.8 kB / 1.395 GB, free: 13.18 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.4438, allocations: 0.7094 MB / 1.396 GB, free: 12.47 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.4439, allocations: 0 / 1.396 GB, free: 12.47 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.4439, allocations: 3.938 kB / 1.396 GB, free: 12.46 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.4439, allocations: 0 / 1.396 GB, free: 12.46 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.4452, allocations: 0.8811 MB / 1.397 GB, free: 11.54 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.4452, allocations: 4 kB / 1.397 GB, free: 11.53 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.4453, allocations: 27.98 kB / 1.397 GB, free: 11.5 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.4453, allocations: 0 / 1.397 GB, free: 11.5 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.4453, allocations: 15.98 kB / 1.397 GB, free: 11.49 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.4453, allocations: 0 / 1.397 GB, free: 11.49 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.4453, allocations: 3.938 kB / 1.397 GB, free: 11.48 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009946/0.4463, allocations: 0.7932 MB / 1.398 GB, free: 10.67 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004288/0.4468, allocations: 194.8 kB / 1.398 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.4469, allocations: 0 / 1.398 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003298/0.4472, allocations: 23.97 kB / 1.398 GB, free: 10.46 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.4473, allocations: 11.92 kB / 1.398 GB, free: 10.45 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.4473, allocations: 8 kB / 1.398 GB, free: 10.44 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002477/0.4498, allocations: 1.618 MB / 1.399 GB, free: 8.801 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/0.4498, allocations: 0 / 1.399 GB, free: 8.801 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000664/0.4504, allocations: 215.8 kB / 1.4 GB, free: 8.59 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (12): * Single equations (assignments): 12 * 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.001567/0.452, allocations: 1.395 MB / 1.401 GB, free: 7.168 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001416/0.4534, allocations: 0.9805 MB / 1.402 GB, free: 6.188 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4534, allocations: 4.188 kB / 1.402 GB, free: 6.184 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003465/0.4538, allocations: 255.8 kB / 1.402 GB, free: 5.934 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004628/0.4584, allocations: 1.207 MB / 1.403 GB, free: 4.73 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02622/0.4846, allocations: 17.83 MB / 1.421 GB, free: 2.652 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/0.4858, allocations: 0.7753 MB / 1.421 GB, free: 1.848 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001266/0.487, allocations: 265.7 kB / 1.422 GB, free: 1.582 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008026/0.4878, allocations: 0.5774 MB / 1.422 GB, free: 1.004 MB / 1.107 GB Notification: Performance of SimCode: time 1.903e-06/0.4878, allocations: 0 / 1.422 GB, free: 1.004 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.121/0.6089, allocations: 56.33 MB / 1.477 GB, free: 9.648 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.7, allocations: 5.031 kB / 1.477 GB, free: 9.645 MB / 1.17 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_HeatExchangers_ThermalWheels_BaseClasses_Validation_VariableSpeedThermalWheels.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ThermalWheels_BaseClasses_Validation_VariableSpeedThermalWheels.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senWhe.uSpe in file Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels_res.csv. Warning: Get data of variable senWhe.uSpe from file Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels_res.csv failed! Error: Could not read variable senWhe.P in file Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels_res.csv. Warning: Get data of variable senWhe.P from file Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels_res.csv failed! Error: Could not read variable latWheDefMotCur.epsSenCor in file Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels_res.csv. Warning: Get data of variable latWheDefMotCur.epsSenCor from file Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.180139927193522]