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.001513/0.001513, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.001732/0.001732, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.494/1.494, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.321/3.321, allocations: 0.505 GB / 0.8066 GB, free: 23.04 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.002071/0.002071, allocations: 65.31 kB / 1.172 GB, free: 17.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3702, allocations: 180.2 MB / 1.348 GB, free: 9.984 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.004274/0.3745, allocations: 2.85 MB / 1.351 GB, free: 7.121 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002926/0.3774, allocations: 1.892 MB / 1.352 GB, free: 5.223 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.3775, allocations: 4 kB / 1.352 GB, free: 5.219 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.3793, allocations: 0.762 MB / 1.353 GB, free: 4.457 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.3796, allocations: 222.5 kB / 1.353 GB, free: 4.238 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.3799, allocations: 119.8 kB / 1.353 GB, free: 4.121 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.008915/0.3888, allocations: 6.342 MB / 1.36 GB, free: 13.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.389, allocations: 29.09 kB / 1.36 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.3892, allocations: 199.1 kB / 1.36 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.3895, allocations: 262.8 kB / 1.36 GB, free: 13.28 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.473e-05/0.3896, allocations: 31.94 kB / 1.36 GB, free: 13.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004709/0.39, allocations: 251.7 kB / 1.36 GB, free: 13 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005787/0.3906, allocations: 0.6349 MB / 1.361 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006315/0.3912, allocations: 0.6833 MB / 1.362 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00208/0.3933, allocations: 1.929 MB / 1.364 GB, free: 9.742 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3933, allocations: 4 kB / 1.364 GB, free: 9.738 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3933, allocations: 0 / 1.364 GB, free: 9.738 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.572e-05/0.3933, allocations: 0 / 1.364 GB, free: 9.738 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.002634/0.396, allocations: 1.934 MB / 1.365 GB, free: 7.742 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.396, allocations: 15.98 kB / 1.365 GB, free: 7.727 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.48e-05/0.3961, allocations: 34.75 kB / 1.366 GB, free: 7.684 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/0.3963, allocations: 175.7 kB / 1.366 GB, free: 7.512 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/0.3983, allocations: 1.511 MB / 1.367 GB, free: 5.934 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.3983, allocations: 15.88 kB / 1.367 GB, free: 5.918 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/0.3984, allocations: 11.98 kB / 1.367 GB, free: 5.906 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004212/0.3988, allocations: 293.6 kB / 1.367 GB, free: 5.613 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.3988, allocations: 3.938 kB / 1.367 GB, free: 5.609 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.3988, allocations: 0 / 1.367 GB, free: 5.609 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.3988, allocations: 4 kB / 1.367 GB, free: 5.605 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006228/0.3994, allocations: 495.8 kB / 1.368 GB, free: 5.121 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.4015, allocations: 1.552 MB / 1.369 GB, free: 3.512 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005732/0.4021, allocations: 486.4 kB / 1.37 GB, free: 3.027 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003094/0.4024, allocations: 248.8 kB / 1.37 GB, free: 2.781 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-05/0.4025, allocations: 23.98 kB / 1.37 GB, free: 2.758 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.4025, allocations: 34.69 kB / 1.37 GB, free: 2.715 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.4025, allocations: 0 / 1.37 GB, free: 2.715 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.001213/0.4037, allocations: 0.9142 MB / 1.371 GB, free: 1.793 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.4038, allocations: 51.41 kB / 1.371 GB, free: 1.73 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002894/0.4067, allocations: 2.305 MB / 1.373 GB, free: 15.39 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.4067, allocations: 29.69 kB / 1.373 GB, free: 15.36 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006936/0.4074, allocations: 0.6811 MB / 1.374 GB, free: 14.67 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.035e-05/0.4074, allocations: 35.72 kB / 1.374 GB, free: 14.63 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.4076, allocations: 133.7 kB / 1.374 GB, free: 14.5 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.4078, allocations: 337.9 kB / 1.375 GB, free: 14.16 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000804/0.4086, allocations: 0.6918 MB / 1.375 GB, free: 13.47 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008606/0.4095, allocations: 0.7726 MB / 1.376 GB, free: 12.68 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.4111, allocations: 1.445 MB / 1.377 GB, free: 11.22 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.4111, allocations: 0 / 1.377 GB, free: 11.22 MB / 1.076 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002044/0.4131, allocations: 1.683 MB / 1.379 GB, free: 9.523 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.4131, allocations: 9.969 kB / 1.379 GB, free: 9.516 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.4131, allocations: 0 / 1.379 GB, free: 9.516 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.4131, allocations: 4 kB / 1.379 GB, free: 9.512 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.4134, allocations: 43.95 kB / 1.379 GB, free: 9.469 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.4134, allocations: 7.938 kB / 1.379 GB, free: 9.461 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005561/0.4139, allocations: 111.9 kB / 1.379 GB, free: 9.352 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.414, allocations: 16.36 kB / 1.379 GB, free: 9.336 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.0006199/0.4146, allocations: 0.4976 MB / 1.38 GB, free: 8.828 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.4148, allocations: 174.8 kB / 1.38 GB, free: 8.656 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.4158, allocations: 0.7018 MB / 1.381 GB, free: 7.945 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4158, allocations: 3.938 kB / 1.381 GB, free: 7.941 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4158, allocations: 7.938 kB / 1.381 GB, free: 7.934 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.4158, allocations: 3.938 kB / 1.381 GB, free: 7.93 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.4171, allocations: 0.9835 MB / 1.382 GB, free: 6.891 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4171, allocations: 0 / 1.382 GB, free: 6.891 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.4172, allocations: 31.92 kB / 1.382 GB, free: 6.859 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4172, allocations: 0 / 1.382 GB, free: 6.859 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.4172, allocations: 4 kB / 1.382 GB, free: 6.855 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4172, allocations: 0 / 1.382 GB, free: 6.855 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.538e-05/0.4172, allocations: 7.922 kB / 1.382 GB, free: 6.848 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.4183, allocations: 0.7893 MB / 1.382 GB, free: 6.039 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003883/0.4187, allocations: 279.8 kB / 1.383 GB, free: 5.746 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.4188, allocations: 4 kB / 1.383 GB, free: 5.742 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003236/0.4191, allocations: 23.97 kB / 1.383 GB, free: 5.719 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.4192, allocations: 7.938 kB / 1.383 GB, free: 5.711 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.4192, allocations: 11.98 kB / 1.383 GB, free: 5.699 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002377/0.4216, allocations: 1.61 MB / 1.384 GB, free: 4.07 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4216, allocations: 7.938 kB / 1.384 GB, free: 4.062 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006796/0.4222, allocations: 215.9 kB / 1.384 GB, free: 3.852 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.001513/0.4238, allocations: 1.391 MB / 1.386 GB, free: 2.434 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001249/0.425, allocations: 0.9767 MB / 1.387 GB, free: 1.457 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.425, allocations: 0 / 1.387 GB, free: 1.457 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003286/0.4253, allocations: 260.2 kB / 1.387 GB, free: 1.203 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004239/0.4296, allocations: 1.217 MB / 1.388 GB, free: 15.99 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0252/0.4548, allocations: 17.84 MB / 1.406 GB, free: 13.9 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001755/0.4565, allocations: 1.376 MB / 1.407 GB, free: 12.49 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001402/0.4579, allocations: 265.7 kB / 1.407 GB, free: 12.23 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/0.459, allocations: 0.5735 MB / 1.408 GB, free: 11.65 MB / 1.107 GB Notification: Performance of SimCode: time 1.993e-06/0.459, allocations: 3.938 kB / 1.408 GB, free: 11.65 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1129/0.5719, allocations: 51.28 MB / 1.458 GB, free: 9.156 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.91, allocations: 9.719 kB / 1.458 GB, free: 9.148 MB / 1.154 GB " [Timeout remaining time 287] (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: 20.03665273496881]