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.001561/0.001561, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001745/0.001745, allocations: 214.9 kB / 23.03 MB, free: 4.922 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.396/1.396, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.111/3.111, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 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.001992/0.001992, allocations: 61.22 kB / 1.171 GB, free: 19.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3979, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.005358/0.4032, allocations: 2.67 MB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003479/0.4067, allocations: 1.745 MB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003451/0.407, allocations: 8 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002402/0.4094, allocations: 0.7066 MB / 1.35 GB, free: 10.81 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0006361/0.4101, allocations: 214.5 kB / 1.351 GB, free: 10.6 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.4104, allocations: 123.8 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01048/0.4209, allocations: 6.611 MB / 1.357 GB, free: 3.859 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.4211, allocations: 29.28 kB / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005068/0.4216, allocations: 203.2 kB / 1.357 GB, free: 3.629 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005306/0.4222, allocations: 254.8 kB / 1.358 GB, free: 3.379 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.4223, allocations: 32 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007554/0.4231, allocations: 271.6 kB / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007324/0.4238, allocations: 0.6426 MB / 1.358 GB, free: 2.438 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.4249, allocations: 0.5086 MB / 1.359 GB, free: 1.926 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002577/0.4274, allocations: 1.952 MB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4275, allocations: 0 / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.195e-06/0.4275, allocations: 0 / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.741e-05/0.4275, allocations: 4 kB / 1.361 GB, free: 15.96 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.004409/0.4319, allocations: 1.855 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.432, allocations: 16.03 kB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.831e-05/0.432, allocations: 192 / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.064e-05/0.432, allocations: 34.75 kB / 1.363 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003092/0.4324, allocations: 175.7 kB / 1.363 GB, free: 13.83 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002329/0.4347, allocations: 1.462 MB / 1.364 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.4347, allocations: 7.984 kB / 1.364 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.4347, allocations: 12 kB / 1.364 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/0.4352, allocations: 297.4 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.4352, allocations: 0 / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.4352, allocations: 0 / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.4352, allocations: 4 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000603/0.4358, allocations: 499.8 kB / 1.365 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002253/0.4381, allocations: 1.427 MB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005516/0.4386, allocations: 486.4 kB / 1.367 GB, free: 9.535 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.4389, allocations: 244.8 kB / 1.367 GB, free: 9.293 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.422e-05/0.439, allocations: 31.98 kB / 1.367 GB, free: 9.262 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.439, allocations: 34.75 kB / 1.367 GB, free: 9.219 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 2.074e-06/0.439, allocations: 3.938 kB / 1.367 GB, free: 9.215 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.001192/0.4402, allocations: 0.9103 MB / 1.368 GB, free: 8.297 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.4402, allocations: 59.28 kB / 1.368 GB, free: 8.227 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002922/0.4432, allocations: 2.293 MB / 1.37 GB, free: 5.898 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.4432, allocations: 30.08 kB / 1.37 GB, free: 5.863 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006808/0.4439, allocations: 0.6889 MB / 1.371 GB, free: 5.168 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.4439, allocations: 31.75 kB / 1.371 GB, free: 5.137 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.4441, allocations: 129.6 kB / 1.371 GB, free: 5.004 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.4442, allocations: 337.9 kB / 1.372 GB, free: 4.668 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007434/0.445, allocations: 0.6879 MB / 1.372 GB, free: 3.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008932/0.4459, allocations: 0.9217 MB / 1.373 GB, free: 3.004 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.4474, allocations: 1.456 MB / 1.375 GB, free: 1.535 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.4474, allocations: 4 kB / 1.375 GB, free: 1.531 MB / 1.061 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002029/0.4494, allocations: 1.676 MB / 1.376 GB, free: 15.84 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.4494, allocations: 15.92 kB / 1.376 GB, free: 15.83 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.4494, allocations: 0 / 1.376 GB, free: 15.83 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.4495, allocations: 0 / 1.376 GB, free: 15.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.4497, allocations: 47.91 kB / 1.376 GB, free: 15.78 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.4497, allocations: 4.031 kB / 1.376 GB, free: 15.78 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006357/0.4503, allocations: 120.6 kB / 1.376 GB, free: 15.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/0.4504, allocations: 16 kB / 1.376 GB, free: 15.64 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.0006883/0.4511, allocations: 497.5 kB / 1.377 GB, free: 15.15 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.4513, allocations: 170.8 kB / 1.377 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009634/0.4522, allocations: 0.7056 MB / 1.378 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.4522, allocations: 4 kB / 1.378 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.4522, allocations: 7.938 kB / 1.378 GB, free: 14.26 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4523, allocations: 0 / 1.378 GB, free: 14.26 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.4533, allocations: 0.8772 MB / 1.379 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4533, allocations: 0 / 1.379 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.4535, allocations: 31.92 kB / 1.379 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.4535, allocations: 0 / 1.379 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.4535, allocations: 7.922 kB / 1.379 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.4535, allocations: 8 kB / 1.379 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.4535, allocations: 3.938 kB / 1.379 GB, free: 13.28 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008429/0.4543, allocations: 0.7815 MB / 1.379 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003269/0.4547, allocations: 198.7 kB / 1.38 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.4548, allocations: 4 kB / 1.38 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003204/0.4551, allocations: 19.97 kB / 1.38 GB, free: 12.26 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.4552, allocations: 11.92 kB / 1.38 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.4552, allocations: 8 kB / 1.38 GB, free: 12.24 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002234/0.4574, allocations: 1.614 MB / 1.381 GB, free: 10.61 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4574, allocations: 4 kB / 1.381 GB, free: 10.61 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006688/0.4581, allocations: 211.9 kB / 1.381 GB, free: 10.4 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.001553/0.4596, allocations: 1.402 MB / 1.383 GB, free: 8.969 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001208/0.4608, allocations: 0.965 MB / 1.384 GB, free: 8.004 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4608, allocations: 4.125 kB / 1.384 GB, free: 8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.4612, allocations: 267.8 kB / 1.384 GB, free: 7.738 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004024/0.4652, allocations: 1.213 MB / 1.385 GB, free: 6.531 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02349/0.4887, allocations: 17.82 MB / 1.403 GB, free: 4.453 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.4898, allocations: 0.783 MB / 1.403 GB, free: 3.641 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001091/0.4909, allocations: 261.7 kB / 1.404 GB, free: 3.379 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007735/0.4916, allocations: 0.5852 MB / 1.404 GB, free: 2.793 MB / 1.092 GB Notification: Performance of SimCode: time 1.212e-06/0.4916, allocations: 0 / 1.404 GB, free: 2.793 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1106/0.6022, allocations: 55.46 MB / 1.458 GB, free: 12.21 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.44/16.04, allocations: 10.08 kB / 1.458 GB, free: 12.21 MB / 1.154 GB " [Timeout remaining time 284] (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: 23.033636840060353]