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.001573/0.001573, 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.00208/0.00208, allocations: 216 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.569/1.569, allocations: 230.6 MB / 256 MB, free: 7.793 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.346/3.346, allocations: 0.505 GB / 0.8101 GB, free: 23.53 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.002053/0.002053, allocations: 67.69 kB / 1.177 GB, free: 16.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.415, allocations: 180.2 MB / 1.353 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.004482/0.4195, allocations: 2.66 MB / 1.355 GB, free: 5.273 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003265/0.4228, allocations: 1.75 MB / 1.357 GB, free: 3.52 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.4229, allocations: 11.94 kB / 1.357 GB, free: 3.508 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001962/0.4249, allocations: 0.7045 MB / 1.358 GB, free: 2.801 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000394/0.4253, allocations: 218.6 kB / 1.358 GB, free: 2.586 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.4256, allocations: 128.8 kB / 1.358 GB, free: 2.461 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01067/0.4362, allocations: 6.612 MB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.4364, allocations: 29.27 kB / 1.365 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002618/0.4366, allocations: 203.1 kB / 1.365 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003265/0.437, allocations: 258.8 kB / 1.365 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.146e-05/0.437, allocations: 28 kB / 1.365 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005697/0.4376, allocations: 275.6 kB / 1.365 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005673/0.4382, allocations: 0.631 MB / 1.366 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000538/0.4387, allocations: 0.5085 MB / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00204/0.4408, allocations: 1.953 MB / 1.368 GB, free: 7.957 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4408, allocations: 0 / 1.368 GB, free: 7.957 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4408, allocations: 4 kB / 1.368 GB, free: 7.953 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.14e-05/0.4408, allocations: 0 / 1.368 GB, free: 7.953 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.002989/0.4438, allocations: 1.859 MB / 1.37 GB, free: 6.051 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.4438, allocations: 11.97 kB / 1.37 GB, free: 6.039 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.14e-05/0.4439, allocations: 42.73 kB / 1.37 GB, free: 5.988 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002554/0.4441, allocations: 171.7 kB / 1.37 GB, free: 5.82 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/0.4465, allocations: 1.455 MB / 1.372 GB, free: 4.301 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.4465, allocations: 11.94 kB / 1.372 GB, free: 4.289 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.4466, allocations: 11.98 kB / 1.372 GB, free: 4.277 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004472/0.447, allocations: 293.6 kB / 1.372 GB, free: 3.984 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.447, allocations: 0 / 1.372 GB, free: 3.984 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.447, allocations: 3.984 kB / 1.372 GB, free: 3.98 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.4471, allocations: 3.938 kB / 1.372 GB, free: 3.977 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006197/0.4477, allocations: 495.7 kB / 1.373 GB, free: 3.492 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.4499, allocations: 1.423 MB / 1.374 GB, free: 2.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005457/0.4504, allocations: 498.3 kB / 1.375 GB, free: 1.523 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/0.4507, allocations: 248.8 kB / 1.375 GB, free: 1.277 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.613e-05/0.4508, allocations: 27.92 kB / 1.375 GB, free: 1.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.4508, allocations: 34.67 kB / 1.375 GB, free: 1.207 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.4508, allocations: 3.938 kB / 1.375 GB, free: 1.203 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.001306/0.4521, allocations: 0.9066 MB / 1.376 GB, free: 296 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.4522, allocations: 59.41 kB / 1.376 GB, free: 224 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002943/0.4551, allocations: 2.297 MB / 1.378 GB, free: 13.88 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.4552, allocations: 29.61 kB / 1.378 GB, free: 13.85 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007101/0.4559, allocations: 0.6928 MB / 1.379 GB, free: 13.16 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.4559, allocations: 27.75 kB / 1.379 GB, free: 13.13 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.4561, allocations: 125.6 kB / 1.379 GB, free: 13 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.4563, allocations: 334 kB / 1.379 GB, free: 12.67 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007635/0.4571, allocations: 0.6957 MB / 1.38 GB, free: 11.97 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009768/0.458, allocations: 0.9256 MB / 1.381 GB, free: 10.99 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.4596, allocations: 1.449 MB / 1.382 GB, free: 9.527 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4596, allocations: 0 / 1.382 GB, free: 9.527 MB / 1.076 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002095/0.4617, allocations: 1.679 MB / 1.384 GB, free: 7.836 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.4617, allocations: 4 kB / 1.384 GB, free: 7.832 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.4617, allocations: 4.094 kB / 1.384 GB, free: 7.828 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.4617, allocations: 4 kB / 1.384 GB, free: 7.824 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.462, allocations: 43.95 kB / 1.384 GB, free: 7.781 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.462, allocations: 7.938 kB / 1.384 GB, free: 7.773 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000668/0.4627, allocations: 112.3 kB / 1.384 GB, free: 7.664 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/0.4627, allocations: 15.98 kB / 1.384 GB, free: 7.648 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.0007296/0.4634, allocations: 0.4936 MB / 1.384 GB, free: 7.145 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/0.4637, allocations: 174.8 kB / 1.385 GB, free: 6.973 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.4647, allocations: 0.7095 MB / 1.385 GB, free: 6.258 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.4647, allocations: 3.938 kB / 1.385 GB, free: 6.254 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-06/0.4647, allocations: 3.938 kB / 1.385 GB, free: 6.25 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.4647, allocations: 4 kB / 1.385 GB, free: 6.246 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.4659, allocations: 0.8733 MB / 1.386 GB, free: 5.324 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.4659, allocations: 4 kB / 1.386 GB, free: 5.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.4661, allocations: 27.97 kB / 1.386 GB, free: 5.293 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.4661, allocations: 0 / 1.386 GB, free: 5.293 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.4661, allocations: 8.375 kB / 1.386 GB, free: 5.285 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4661, allocations: 0 / 1.386 GB, free: 5.285 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.4661, allocations: 3.938 kB / 1.386 GB, free: 5.281 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000931/0.467, allocations: 0.7892 MB / 1.387 GB, free: 4.473 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004354/0.4675, allocations: 202.7 kB / 1.387 GB, free: 4.273 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.4676, allocations: 0 / 1.387 GB, free: 4.273 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/0.4679, allocations: 27.97 kB / 1.387 GB, free: 4.246 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/0.468, allocations: 19.91 kB / 1.387 GB, free: 4.227 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.468, allocations: 4 kB / 1.387 GB, free: 4.223 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002254/0.4703, allocations: 1.614 MB / 1.389 GB, free: 2.59 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4703, allocations: 0 / 1.389 GB, free: 2.59 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006811/0.4709, allocations: 215.9 kB / 1.389 GB, free: 2.379 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.001561/0.4725, allocations: 1.406 MB / 1.39 GB, free: 0.9453 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001286/0.4738, allocations: 0.9746 MB / 1.391 GB, free: 15.97 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4738, allocations: 0 / 1.391 GB, free: 15.97 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.4741, allocations: 251.9 kB / 1.392 GB, free: 15.72 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003944/0.478, allocations: 1.209 MB / 1.393 GB, free: 14.52 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0227/0.5008, allocations: 17.83 MB / 1.41 GB, free: 12.44 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.5018, allocations: 0.7791 MB / 1.411 GB, free: 11.63 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001006/0.5028, allocations: 269.7 kB / 1.411 GB, free: 11.36 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007116/0.5035, allocations: 0.5773 MB / 1.412 GB, free: 10.78 MB / 1.107 GB Notification: Performance of SimCode: time 1.563e-06/0.5035, allocations: 0 / 1.412 GB, free: 10.78 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1111/0.6146, allocations: 56.36 MB / 1.467 GB, free: 3.32 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/15.23, allocations: 7.422 kB / 1.467 GB, free: 3.316 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_ThermalWheels_BaseClasses_Validation_VariableSpeedThermalWheels_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.602418746013427]