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.00131/0.00131, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001756/0.003066, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001097/0.001097, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001427/0.002524, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9714/0.9714, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1095/1.081, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.594/2.594, allocations: 446.7 MB / 0.6745 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3109/2.905, allocations: 145.9 MB / 0.817 GB, free: 4.176 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: translateModel(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senWhe.uSpe|senWhe.P|latWheDefMotCur.P|latWheDefMotCur.epsSenCor|latWheDefMotCur.epsLatCor",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels") translateModel(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senWhe.uSpe|senWhe.P|latWheDefMotCur.P|latWheDefMotCur.epsSenCor|latWheDefMotCur.epsLatCor",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.8183 GB, free: 2.848 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.02e-05/3.225e-05, allocations: 4.562 kB / 0.8183 GB, free: 2.844 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.00363/0.003662, allocations: 2.865 MB / 0.8211 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00346/0.007122, allocations: 1.872 MB / 0.8229 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002235/0.007346, allocations: 12 kB / 0.823 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.009059, allocations: 0.6885 MB / 0.8236 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003374/0.009396, allocations: 226.3 kB / 0.8238 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.009646, allocations: 119.8 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.005784/0.01543, allocations: 6.16 MB / 0.83 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.0156, allocations: 37.25 kB / 0.83 GB, free: 6.828 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004609/0.01606, allocations: 383.6 kB / 0.8304 GB, free: 6.453 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.01627, allocations: 195.3 kB / 0.8306 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.747e-05/0.01631, allocations: 32 kB / 0.8306 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005288/0.01684, allocations: 287.6 kB / 0.8309 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0005074/0.01735, allocations: 0.6547 MB / 0.8315 GB, free: 5.293 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0003517/0.0177, allocations: 339 kB / 0.8318 GB, free: 4.961 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.01878, allocations: 1.14 MB / 0.8329 GB, free: 3.816 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.785e-05/0.0188, allocations: 0 / 0.8329 GB, free: 3.816 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.715e-06/0.0188, allocations: 0 / 0.8329 GB, free: 3.816 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.666e-05/0.01884, allocations: 0 / 0.8329 GB, free: 3.816 MB / 0.8073 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.0022/0.02104, allocations: 2.052 MB / 0.8349 GB, free: 1.727 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.02109, allocations: 16.62 kB / 0.835 GB, free: 1.711 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.02127, allocations: 76.84 kB / 0.835 GB, free: 1.637 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.02254, allocations: 1.009 MB / 0.836 GB, free: 0.5625 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.02256, allocations: 8.375 kB / 0.836 GB, free: 0.5547 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.02258, allocations: 8.375 kB / 0.836 GB, free: 0.5469 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.02276, allocations: 92.92 kB / 0.8361 GB, free: 456 kB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.02277, allocations: 4 kB / 0.8361 GB, free: 452 kB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.02278, allocations: 8 kB / 0.8361 GB, free: 444 kB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.02279, allocations: 0 / 0.8361 GB, free: 444 kB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.764e-05/0.02285, allocations: 27.95 kB / 0.8362 GB, free: 416 kB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008683/0.02372, allocations: 0.5518 MB / 0.8367 GB, free: 15.84 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.02383, allocations: 101.2 kB / 0.8368 GB, free: 15.73 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.861e-05/0.02386, allocations: 12.86 kB / 0.8368 GB, free: 15.71 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-05/0.02392, allocations: 23.98 kB / 0.8368 GB, free: 15.69 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.02395, allocations: 34.56 kB / 0.8369 GB, free: 15.64 MB / 0.823 GB Notification: Performance of pre-optimization done (n=9): time 2.174e-06/0.02395, allocations: 0 / 0.8369 GB, free: 15.64 MB / 0.823 GB Notification: Performance of matching and sorting (n=9): time 0.0002576/0.02421, allocations: 145.7 kB / 0.837 GB, free: 15.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.02425, allocations: 51.41 kB / 0.8371 GB, free: 15.43 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.02541, allocations: 1.461 MB / 0.8385 GB, free: 13.94 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.02543, allocations: 37.69 kB / 0.8385 GB, free: 13.89 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.02566, allocations: 345.1 kB / 0.8388 GB, free: 13.55 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.02569, allocations: 35.72 kB / 0.8389 GB, free: 13.52 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.0258, allocations: 117.5 kB / 0.839 GB, free: 13.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.02591, allocations: 329.9 kB / 0.8393 GB, free: 13.07 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.02601, allocations: 91.47 kB / 0.8394 GB, free: 12.98 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.02622, allocations: 330.6 kB / 0.8397 GB, free: 12.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.02646, allocations: 266.6 kB / 0.84 GB, free: 12.32 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.02646, allocations: 7.938 kB / 0.84 GB, free: 12.32 MB / 0.823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0003896/0.02685, allocations: 389.4 kB / 0.8403 GB, free: 11.93 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.02687, allocations: 4.109 kB / 0.8403 GB, free: 11.93 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.02688, allocations: 3.938 kB / 0.8403 GB, free: 11.92 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.02689, allocations: 4 kB / 0.8404 GB, free: 11.92 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.02706, allocations: 43.95 kB / 0.8404 GB, free: 11.88 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.02706, allocations: 7.938 kB / 0.8404 GB, free: 11.87 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.02734, allocations: 111.2 kB / 0.8405 GB, free: 11.76 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.02736, allocations: 15.98 kB / 0.8405 GB, free: 11.74 MB / 0.823 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.0001636/0.02752, allocations: 124.7 kB / 0.8406 GB, free: 11.61 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.339e-05/0.02761, allocations: 75.91 kB / 0.8407 GB, free: 11.54 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.0279, allocations: 222.8 kB / 0.8409 GB, free: 11.31 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.02791, allocations: 4 kB / 0.8409 GB, free: 11.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.02791, allocations: 0 / 0.8409 GB, free: 11.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.02792, allocations: 0 / 0.8409 GB, free: 11.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004606/0.02838, allocations: 455.3 kB / 0.8414 GB, free: 10.84 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.02838, allocations: 0 / 0.8414 GB, free: 10.84 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.86e-05/0.02846, allocations: 23.98 kB / 0.8414 GB, free: 10.82 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.02863, allocations: 186.6 kB / 0.8416 GB, free: 10.63 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.02863, allocations: 0 / 0.8416 GB, free: 10.63 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.02864, allocations: 4 kB / 0.8416 GB, free: 10.63 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.02864, allocations: 3.984 kB / 0.8416 GB, free: 10.62 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.02865, allocations: 0 / 0.8416 GB, free: 10.62 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.02887, allocations: 296 kB / 0.8419 GB, free: 10.32 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.563e-05/0.02895, allocations: 4 kB / 0.8419 GB, free: 10.31 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.02911, allocations: 27.97 kB / 0.8419 GB, free: 10.29 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.02915, allocations: 3.984 kB / 0.8419 GB, free: 10.28 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.02916, allocations: 4 kB / 0.8419 GB, free: 10.28 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006236/0.02978, allocations: 0.7781 MB / 0.8427 GB, free: 9.477 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.1e-07/0.02978, allocations: 0 / 0.8427 GB, free: 9.477 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004424/0.03022, allocations: 215.9 kB / 0.8429 GB, free: 9.266 MB / 0.823 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.0002958/0.03052, allocations: 156.2 kB / 0.843 GB, free: 9.105 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002608/0.03078, allocations: 170.6 kB / 0.8432 GB, free: 8.934 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.321e-05/0.0308, allocations: 20.19 kB / 0.8432 GB, free: 8.914 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.746e-05/0.03084, allocations: 32.84 kB / 0.8432 GB, free: 8.879 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/0.03317, allocations: 1.326 MB / 0.8445 GB, free: 7.559 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.03585, allocations: 2.083 MB / 0.8466 GB, free: 5.426 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.03615, allocations: 395.7 kB / 0.8469 GB, free: 5.016 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0006595/0.03681, allocations: 213.6 kB / 0.8471 GB, free: 4.801 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00144/0.03825, allocations: 0.7214 MB / 0.8478 GB, free: 4.062 MB / 0.823 GB Notification: Performance of SimCode: time 2.555e-06/0.03825, allocations: 0 / 0.8478 GB, free: 4.062 MB / 0.823 GB Notification: Performance of Templates: time 0.06294/0.1012, allocations: 45.18 MB / 0.892 GB, free: 8.141 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels/Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.506037769839168]