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.001816/0.001816, allocations: 114.5 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.001923/0.001923, allocations: 217 kB / 22.25 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 8.02 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.234/3.234, allocations: 0.505 GB / 0.8101 GB, free: 22.07 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.002032/0.002032, allocations: 64.73 kB / 1.177 GB, free: 17.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3248, allocations: 180.2 MB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.004345/0.3292, allocations: 2.878 MB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003209/0.3324, allocations: 1.893 MB / 1.358 GB, free: 3.691 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.3326, allocations: 15.88 kB / 1.358 GB, free: 3.676 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001943/0.3345, allocations: 0.7318 MB / 1.358 GB, free: 2.941 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003993/0.3349, allocations: 218.6 kB / 1.358 GB, free: 2.727 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003136/0.3352, allocations: 123.8 kB / 1.359 GB, free: 2.605 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01009/0.3453, allocations: 6.614 MB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.3455, allocations: 33.2 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002911/0.3458, allocations: 199.1 kB / 1.365 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003238/0.3461, allocations: 258.8 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.441e-05/0.3462, allocations: 28 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005328/0.3467, allocations: 275.6 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005313/0.3472, allocations: 0.6387 MB / 1.366 GB, free: 10.56 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005963/0.3478, allocations: 0.6833 MB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002098/0.3499, allocations: 1.941 MB / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3499, allocations: 0 / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3499, allocations: 0 / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.11e-05/0.3499, allocations: 0 / 1.369 GB, free: 7.926 MB / 1.061 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.002771/0.3527, allocations: 1.855 MB / 1.371 GB, free: 6.027 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.3528, allocations: 8.031 kB / 1.371 GB, free: 6.02 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.886e-05/0.3528, allocations: 38.75 kB / 1.371 GB, free: 5.973 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.353, allocations: 171.7 kB / 1.371 GB, free: 5.805 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/0.3552, allocations: 1.463 MB / 1.372 GB, free: 4.277 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.3552, allocations: 15.88 kB / 1.372 GB, free: 4.262 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.3553, allocations: 8 kB / 1.372 GB, free: 4.254 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.3557, allocations: 289.5 kB / 1.373 GB, free: 3.965 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3557, allocations: 0 / 1.373 GB, free: 3.965 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3557, allocations: 0 / 1.373 GB, free: 3.965 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3557, allocations: 4 kB / 1.373 GB, free: 3.961 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005864/0.3563, allocations: 0.4919 MB / 1.373 GB, free: 3.469 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.3584, allocations: 1.52 MB / 1.375 GB, free: 1.898 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005374/0.3589, allocations: 490.3 kB / 1.375 GB, free: 1.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002912/0.3592, allocations: 248.8 kB / 1.375 GB, free: 1.164 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.077e-05/0.3593, allocations: 31.97 kB / 1.375 GB, free: 1.133 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.3593, allocations: 30.56 kB / 1.375 GB, free: 1.094 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.3593, allocations: 0 / 1.375 GB, free: 1.094 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.001222/0.3605, allocations: 0.9105 MB / 1.376 GB, free: 180 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.3606, allocations: 55.41 kB / 1.376 GB, free: 112 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002864/0.3634, allocations: 2.297 MB / 1.379 GB, free: 13.78 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.3635, allocations: 33.7 kB / 1.379 GB, free: 13.74 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006847/0.3642, allocations: 0.685 MB / 1.379 GB, free: 13.05 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.3642, allocations: 31.73 kB / 1.379 GB, free: 13.02 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.3644, allocations: 129.6 kB / 1.38 GB, free: 12.89 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3645, allocations: 334.1 kB / 1.38 GB, free: 12.55 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00074/0.3652, allocations: 0.6917 MB / 1.381 GB, free: 11.86 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008192/0.3661, allocations: 0.7789 MB / 1.381 GB, free: 11.06 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.3676, allocations: 1.452 MB / 1.383 GB, free: 9.598 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3676, allocations: 0 / 1.383 GB, free: 9.598 MB / 1.076 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001936/0.3695, allocations: 1.679 MB / 1.384 GB, free: 7.906 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.3695, allocations: 8 kB / 1.384 GB, free: 7.898 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3695, allocations: 0 / 1.384 GB, free: 7.898 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.3695, allocations: 0 / 1.384 GB, free: 7.898 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.3698, allocations: 43.95 kB / 1.384 GB, free: 7.855 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.3698, allocations: 12.03 kB / 1.384 GB, free: 7.844 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005476/0.3703, allocations: 119.8 kB / 1.384 GB, free: 7.727 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.3704, allocations: 19.98 kB / 1.385 GB, free: 7.707 MB / 1.076 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.0006033/0.371, allocations: 0.4897 MB / 1.385 GB, free: 7.207 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.3711, allocations: 170.8 kB / 1.385 GB, free: 7.039 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009381/0.3721, allocations: 0.7056 MB / 1.386 GB, free: 6.328 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.3721, allocations: 4 kB / 1.386 GB, free: 6.324 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3721, allocations: 3.938 kB / 1.386 GB, free: 6.32 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3721, allocations: 3.984 kB / 1.386 GB, free: 6.316 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.3732, allocations: 0.9594 MB / 1.387 GB, free: 5.309 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3732, allocations: 0 / 1.387 GB, free: 5.309 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.3733, allocations: 23.98 kB / 1.387 GB, free: 5.285 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3733, allocations: 4 kB / 1.387 GB, free: 5.281 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.3733, allocations: 11.94 kB / 1.387 GB, free: 5.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3733, allocations: 0 / 1.387 GB, free: 5.27 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3733, allocations: 3.938 kB / 1.387 GB, free: 5.266 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008368/0.3742, allocations: 0.797 MB / 1.388 GB, free: 4.449 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003595/0.3745, allocations: 194.8 kB / 1.388 GB, free: 4.258 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.3746, allocations: 3.984 kB / 1.388 GB, free: 4.254 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003138/0.375, allocations: 27.97 kB / 1.388 GB, free: 4.227 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.375, allocations: 15.91 kB / 1.388 GB, free: 4.211 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.375, allocations: 4 kB / 1.388 GB, free: 4.207 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002073/0.3771, allocations: 1.618 MB / 1.389 GB, free: 2.57 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3771, allocations: 0 / 1.389 GB, free: 2.57 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005856/0.3777, allocations: 215.8 kB / 1.39 GB, free: 2.359 MB / 1.076 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.001337/0.379, allocations: 1.395 MB / 1.391 GB, free: 0.9375 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.3802, allocations: 0.9709 MB / 1.392 GB, free: 15.96 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3802, allocations: 0 / 1.392 GB, free: 15.96 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003112/0.3805, allocations: 264 kB / 1.392 GB, free: 15.71 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00391/0.3844, allocations: 1.208 MB / 1.393 GB, free: 14.51 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02198/0.4064, allocations: 17.84 MB / 1.411 GB, free: 12.41 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/0.4075, allocations: 1.368 MB / 1.412 GB, free: 11.02 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0009087/0.4084, allocations: 273.7 kB / 1.412 GB, free: 10.74 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006815/0.4091, allocations: 0.5696 MB / 1.413 GB, free: 10.17 MB / 1.107 GB Notification: Performance of SimCode: time 6.72e-07/0.4091, allocations: 0 / 1.413 GB, free: 10.17 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/0.5093, allocations: 51.37 MB / 1.463 GB, free: 7.539 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.42/14.93, allocations: 12.03 kB / 1.463 GB, free: 7.527 MB / 1.154 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: 21.960756391999894]