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.001386/0.001386, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.00175/0.00175, allocations: 220.9 kB / 22.25 MB, free: 5.105 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.612/1.612, 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.329/3.329, allocations: 0.505 GB / 0.8101 GB, free: 23.48 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.00197/0.00197, allocations: 68.47 kB / 1.177 GB, free: 16.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.404, allocations: 180.2 MB / 1.353 GB, free: 7.863 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.005084/0.4091, allocations: 2.656 MB / 1.355 GB, free: 5.191 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003482/0.4126, allocations: 1.758 MB / 1.357 GB, free: 3.43 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.4128, allocations: 8 kB / 1.357 GB, free: 3.422 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002142/0.4149, allocations: 0.7084 MB / 1.358 GB, free: 2.711 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004314/0.4153, allocations: 206.6 kB / 1.358 GB, free: 2.508 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.4157, allocations: 129.7 kB / 1.358 GB, free: 2.383 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0102/0.4259, allocations: 6.613 MB / 1.365 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.426, allocations: 29.27 kB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002868/0.4263, allocations: 199.2 kB / 1.365 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003476/0.4267, allocations: 258.7 kB / 1.365 GB, free: 11.28 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.792e-05/0.4268, allocations: 28 kB / 1.365 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006088/0.4274, allocations: 275.6 kB / 1.365 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006066/0.428, allocations: 0.635 MB / 1.366 GB, free: 10.35 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005464/0.4285, allocations: 0.5163 MB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.4307, allocations: 1.945 MB / 1.368 GB, free: 7.875 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4307, allocations: 0 / 1.368 GB, free: 7.875 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4307, allocations: 0 / 1.368 GB, free: 7.875 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.821e-05/0.4307, allocations: 0 / 1.368 GB, free: 7.875 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.002894/0.4336, allocations: 1.863 MB / 1.37 GB, free: 5.969 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.4336, allocations: 12.03 kB / 1.37 GB, free: 5.957 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.645e-05/0.4337, allocations: 30.75 kB / 1.37 GB, free: 5.918 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002229/0.4339, allocations: 179.7 kB / 1.37 GB, free: 5.742 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002342/0.4362, allocations: 1.459 MB / 1.372 GB, free: 4.219 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.4363, allocations: 11.94 kB / 1.372 GB, free: 4.207 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.4363, allocations: 19.92 kB / 1.372 GB, free: 4.188 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004556/0.4368, allocations: 289.5 kB / 1.372 GB, free: 3.898 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.4368, allocations: 0 / 1.372 GB, free: 3.898 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.4368, allocations: 0 / 1.372 GB, free: 3.898 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.4368, allocations: 4 kB / 1.372 GB, free: 3.895 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006422/0.4374, allocations: 499.7 kB / 1.373 GB, free: 3.406 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.4396, allocations: 1.427 MB / 1.374 GB, free: 1.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005723/0.4402, allocations: 478.4 kB / 1.375 GB, free: 1.453 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.4405, allocations: 248.8 kB / 1.375 GB, free: 1.207 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.892e-05/0.4406, allocations: 28.17 kB / 1.375 GB, free: 1.18 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.4406, allocations: 34.5 kB / 1.375 GB, free: 1.137 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 3.687e-06/0.4406, allocations: 3.984 kB / 1.375 GB, free: 1.133 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.001259/0.4419, allocations: 0.9142 MB / 1.376 GB, free: 216 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.4419, allocations: 55.41 kB / 1.376 GB, free: 148 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003186/0.4451, allocations: 2.297 MB / 1.378 GB, free: 13.81 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.107e-05/0.4452, allocations: 29.7 kB / 1.378 GB, free: 13.78 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007461/0.4459, allocations: 0.6889 MB / 1.379 GB, free: 13.09 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/0.4459, allocations: 31.73 kB / 1.379 GB, free: 13.05 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.4461, allocations: 121.6 kB / 1.379 GB, free: 12.93 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.4463, allocations: 337.9 kB / 1.379 GB, free: 12.59 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007946/0.4471, allocations: 0.6957 MB / 1.38 GB, free: 11.9 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009756/0.4481, allocations: 0.9232 MB / 1.381 GB, free: 10.92 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/0.4497, allocations: 1.449 MB / 1.382 GB, free: 9.457 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4497, allocations: 112 / 1.382 GB, free: 9.457 MB / 1.076 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002349/0.4521, allocations: 1.691 MB / 1.384 GB, free: 7.754 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.4521, allocations: 8 kB / 1.384 GB, free: 7.746 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.4521, allocations: 3.984 kB / 1.384 GB, free: 7.742 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.4521, allocations: 0 / 1.384 GB, free: 7.742 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.4524, allocations: 47.95 kB / 1.384 GB, free: 7.695 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.4524, allocations: 4.312 kB / 1.384 GB, free: 7.691 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007448/0.4531, allocations: 107.3 kB / 1.384 GB, free: 7.586 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.4532, allocations: 24.06 kB / 1.384 GB, free: 7.562 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.0008373/0.454, allocations: 0.4936 MB / 1.384 GB, free: 7.059 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/0.4542, allocations: 174.8 kB / 1.385 GB, free: 6.887 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009912/0.4552, allocations: 0.7017 MB / 1.385 GB, free: 6.18 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.4552, allocations: 8 kB / 1.385 GB, free: 6.172 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.4552, allocations: 3.938 kB / 1.385 GB, free: 6.168 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4552, allocations: 0 / 1.385 GB, free: 6.168 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.4564, allocations: 0.8772 MB / 1.386 GB, free: 5.242 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4564, allocations: 0 / 1.386 GB, free: 5.242 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.4565, allocations: 35.91 kB / 1.386 GB, free: 5.207 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4565, allocations: 3.938 kB / 1.386 GB, free: 5.203 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.4566, allocations: 0 / 1.386 GB, free: 5.203 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.4566, allocations: 4 kB / 1.386 GB, free: 5.199 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.4566, allocations: 3.938 kB / 1.386 GB, free: 5.195 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008596/0.4574, allocations: 0.7815 MB / 1.387 GB, free: 4.395 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004046/0.4578, allocations: 198.7 kB / 1.387 GB, free: 4.199 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.458, allocations: 12 kB / 1.387 GB, free: 4.188 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.4583, allocations: 19.97 kB / 1.387 GB, free: 4.168 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.4583, allocations: 11.92 kB / 1.387 GB, free: 4.156 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.4584, allocations: 8 kB / 1.387 GB, free: 4.148 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002227/0.4606, allocations: 1.618 MB / 1.389 GB, free: 2.512 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4606, allocations: 0 / 1.389 GB, free: 2.512 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006757/0.4613, allocations: 215.9 kB / 1.389 GB, free: 2.301 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.001578/0.4628, allocations: 1.402 MB / 1.39 GB, free: 0.8711 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001341/0.4642, allocations: 0.9693 MB / 1.391 GB, free: 15.9 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4642, allocations: 0 / 1.391 GB, free: 15.9 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003496/0.4645, allocations: 263.8 kB / 1.392 GB, free: 15.64 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004508/0.469, allocations: 1.21 MB / 1.393 GB, free: 14.44 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02411/0.4932, allocations: 17.83 MB / 1.41 GB, free: 12.36 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/0.4943, allocations: 0.7714 MB / 1.411 GB, free: 11.56 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001076/0.4953, allocations: 281.6 kB / 1.411 GB, free: 11.28 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008043/0.4962, allocations: 0.5735 MB / 1.412 GB, free: 10.7 MB / 1.107 GB Notification: Performance of SimCode: time 1.503e-06/0.4962, allocations: 0 / 1.412 GB, free: 10.7 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1115/0.6076, allocations: 56.36 MB / 1.467 GB, free: 3.246 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.3, allocations: 11.98 kB / 1.467 GB, free: 3.234 MB / 1.154 GB " [Timeout remaining time 286] (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.78711252400535]