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.001271/0.001271, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001399/0.001399, allocations: 219.1 kB / 23.04 MB, free: 5.074 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.405/1.405, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.046/3.046, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ThermalWheels_BaseClasses_Validation_VariableSpeedThermalWheels",fmuType="cs",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.001915/0.001915, allocations: 74.39 kB / 1.171 GB, free: 19.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3206, allocations: 179 MB / 1.345 GB, free: 460 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.004007/0.3246, allocations: 2.865 MB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002693/0.3273, allocations: 1.892 MB / 1.35 GB, free: 11.67 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.3274, allocations: 8 kB / 1.35 GB, free: 11.66 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.3291, allocations: 0.7512 MB / 1.351 GB, free: 10.91 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003165/0.3294, allocations: 210.6 kB / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.3296, allocations: 119.8 kB / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.009069/0.3387, allocations: 6.619 MB / 1.358 GB, free: 3.961 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3388, allocations: 29.27 kB / 1.358 GB, free: 3.93 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.339, allocations: 203.1 kB / 1.358 GB, free: 3.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.3393, allocations: 258.8 kB / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6e-05/0.3394, allocations: 28 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004805/0.3398, allocations: 275.6 kB / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004977/0.3403, allocations: 0.6388 MB / 1.359 GB, free: 2.539 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005624/0.3409, allocations: 0.6872 MB / 1.36 GB, free: 1.848 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001812/0.3427, allocations: 1.929 MB / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3427, allocations: 0 / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3427, allocations: 7.938 kB / 1.361 GB, free: 15.9 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.05e-05/0.3427, allocations: 0 / 1.361 GB, free: 15.9 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.002456/0.3452, allocations: 1.859 MB / 1.363 GB, free: 14 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3452, allocations: 8.031 kB / 1.363 GB, free: 13.99 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.874e-05/0.3453, allocations: 8.125 kB / 1.363 GB, free: 13.98 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.388e-05/0.3453, allocations: 38.73 kB / 1.363 GB, free: 13.94 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.3455, allocations: 175.7 kB / 1.363 GB, free: 13.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001996/0.3475, allocations: 1.459 MB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.3475, allocations: 15.98 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.3475, allocations: 8 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/0.3479, allocations: 289.6 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.3479, allocations: 0 / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.3479, allocations: 7.984 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3479, allocations: 0 / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005736/0.3485, allocations: 499.7 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0019/0.3504, allocations: 1.516 MB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000529/0.3509, allocations: 494.3 kB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002855/0.3512, allocations: 240.8 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.089e-05/0.3513, allocations: 27.98 kB / 1.368 GB, free: 9.109 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.3513, allocations: 42.55 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.3513, allocations: 0 / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.001146/0.3525, allocations: 0.9066 MB / 1.369 GB, free: 8.145 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.3525, allocations: 55.34 kB / 1.369 GB, free: 8.078 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002747/0.3552, allocations: 2.297 MB / 1.371 GB, free: 5.746 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.3553, allocations: 29.8 kB / 1.371 GB, free: 5.711 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006664/0.3559, allocations: 0.6966 MB / 1.372 GB, free: 5.008 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.356, allocations: 31.73 kB / 1.372 GB, free: 4.977 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.3562, allocations: 121.6 kB / 1.372 GB, free: 4.852 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3563, allocations: 334 kB / 1.372 GB, free: 4.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007565/0.3571, allocations: 0.6961 MB / 1.373 GB, free: 3.824 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000833/0.3579, allocations: 0.775 MB / 1.374 GB, free: 3.031 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.3594, allocations: 1.449 MB / 1.375 GB, free: 1.57 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3594, allocations: 0 / 1.375 GB, free: 1.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001818/0.3612, allocations: 1.679 MB / 1.377 GB, free: 15.88 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3612, allocations: 8 kB / 1.377 GB, free: 15.87 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.3612, allocations: 0 / 1.377 GB, free: 15.87 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.3612, allocations: 4 kB / 1.377 GB, free: 15.87 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.3615, allocations: 43.95 kB / 1.377 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.3615, allocations: 4.031 kB / 1.377 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005611/0.362, allocations: 120.1 kB / 1.377 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.3621, allocations: 16 kB / 1.377 GB, free: 15.69 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.0005604/0.3626, allocations: 0.4937 MB / 1.377 GB, free: 15.18 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.3628, allocations: 170.8 kB / 1.378 GB, free: 15.02 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009356/0.3637, allocations: 0.7134 MB / 1.378 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3637, allocations: 0 / 1.378 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3637, allocations: 7.875 kB / 1.378 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3637, allocations: 3.984 kB / 1.378 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.3648, allocations: 0.9513 MB / 1.379 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3648, allocations: 0 / 1.379 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.3649, allocations: 27.98 kB / 1.379 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3649, allocations: 0 / 1.379 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.3649, allocations: 11.98 kB / 1.379 GB, free: 13.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3649, allocations: 4 kB / 1.379 GB, free: 13.24 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3649, allocations: 3.938 kB / 1.379 GB, free: 13.24 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008411/0.3658, allocations: 0.7814 MB / 1.38 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003344/0.3661, allocations: 202.7 kB / 1.38 GB, free: 12.24 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.3662, allocations: 0 / 1.38 GB, free: 12.24 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003399/0.3666, allocations: 27.97 kB / 1.38 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.3666, allocations: 19.86 kB / 1.38 GB, free: 12.19 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.3666, allocations: 8 kB / 1.38 GB, free: 12.18 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002031/0.3687, allocations: 1.61 MB / 1.382 GB, free: 10.55 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3687, allocations: 0 / 1.382 GB, free: 10.55 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006023/0.3693, allocations: 211.9 kB / 1.382 GB, free: 10.35 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.001344/0.3706, allocations: 1.406 MB / 1.383 GB, free: 8.914 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.3717, allocations: 0.9689 MB / 1.384 GB, free: 7.945 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3717, allocations: 0 / 1.384 GB, free: 7.945 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.372, allocations: 252.4 kB / 1.385 GB, free: 7.699 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004049/0.3761, allocations: 1.214 MB / 1.386 GB, free: 6.488 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02102/0.3971, allocations: 17.84 MB / 1.403 GB, free: 4.391 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/0.3983, allocations: 1.372 MB / 1.405 GB, free: 2.988 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0009403/0.3992, allocations: 269.7 kB / 1.405 GB, free: 2.719 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007047/0.3999, allocations: 0.5774 MB / 1.405 GB, free: 2.141 MB / 1.092 GB Notification: Performance of SimCode: time 8.52e-07/0.3999, allocations: 0 / 1.405 GB, free: 2.141 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09208/0.492, allocations: 51.42 MB / 1.456 GB, free: 15.46 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.15/14.64, allocations: 7.984 kB / 1.456 GB, free: 15.45 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: 21.407361190998927]