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.00162/0.00162, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.001711/0.001711, allocations: 164.5 kB / 23.01 MB, free: 4.598 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.621/1.621, allocations: 177.2 MB / 203.4 MB, free: 8.996 MB / 190.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 2.965/2.965, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 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: 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: 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.002114/0.002114, allocations: 67.89 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.027, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.004081/1.031, allocations: 2.669 MB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003351/1.034, allocations: 1.75 MB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/1.034, allocations: 11.5 kB / 1.191 GB, free: 13.33 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001992/1.036, allocations: 0.7067 MB / 1.192 GB, free: 13.11 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003649/1.037, allocations: 214.6 kB / 1.192 GB, free: 12.98 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/1.037, allocations: 126 kB / 1.192 GB, free: 12.92 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01123/1.048, allocations: 6.633 MB / 1.198 GB, free: 11.12 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/1.048, allocations: 40.44 kB / 1.198 GB, free: 11.09 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002994/1.049, allocations: 200.7 kB / 1.199 GB, free: 11 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003429/1.049, allocations: 232.4 kB / 1.199 GB, free: 10.91 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.169e-05/1.049, allocations: 31.5 kB / 1.199 GB, free: 10.9 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007089/1.05, allocations: 265.5 kB / 1.199 GB, free: 10.84 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0007293/1.05, allocations: 0.6441 MB / 1.2 GB, free: 10.66 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005416/1.051, allocations: 0.4992 MB / 1.2 GB, free: 10.4 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002634/1.054, allocations: 1.955 MB / 1.202 GB, free: 9.695 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/1.054, allocations: 5.375 kB / 1.202 GB, free: 9.691 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.925e-06/1.054, allocations: 0 / 1.202 GB, free: 9.691 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.917e-05/1.054, allocations: 0 / 1.202 GB, free: 9.691 MB / 1.076 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.00273/1.056, allocations: 1.846 MB / 1.204 GB, free: 8.414 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/1.056, allocations: 15.05 kB / 1.204 GB, free: 8.41 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002232/1.057, allocations: 174.5 kB / 1.204 GB, free: 8.309 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002096/1.059, allocations: 1.459 MB / 1.206 GB, free: 7.457 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/1.059, allocations: 11.91 kB / 1.206 GB, free: 7.449 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/1.059, allocations: 8.094 kB / 1.206 GB, free: 7.449 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004396/1.059, allocations: 291 kB / 1.206 GB, free: 7.352 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.059, allocations: 0 / 1.206 GB, free: 7.352 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/1.059, allocations: 0 / 1.206 GB, free: 7.352 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/1.059, allocations: 6.234 kB / 1.206 GB, free: 7.348 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006382/1.06, allocations: 498 kB / 1.206 GB, free: 7.23 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/1.062, allocations: 1.4 MB / 1.208 GB, free: 6.617 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005526/1.062, allocations: 492.3 kB / 1.208 GB, free: 6.477 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/1.063, allocations: 242.2 kB / 1.208 GB, free: 6.414 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.655e-05/1.063, allocations: 27.05 kB / 1.208 GB, free: 6.406 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/1.063, allocations: 33.77 kB / 1.209 GB, free: 6.367 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/1.063, allocations: 4 kB / 1.209 GB, free: 6.363 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.001307/1.064, allocations: 0.9165 MB / 1.209 GB, free: 6.051 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/1.064, allocations: 53.2 kB / 1.209 GB, free: 5.988 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003337/1.068, allocations: 2.292 MB / 1.212 GB, free: 5.148 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/1.068, allocations: 31.98 kB / 1.212 GB, free: 5.113 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006027/1.068, allocations: 0.6843 MB / 1.212 GB, free: 4.574 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/1.068, allocations: 34.72 kB / 1.212 GB, free: 4.547 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/1.068, allocations: 121.8 kB / 1.213 GB, free: 4.496 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.241e-05/1.068, allocations: 339.3 kB / 1.213 GB, free: 4.176 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007733/1.069, allocations: 0.6938 MB / 1.214 GB, free: 3.98 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008434/1.07, allocations: 0.9265 MB / 1.214 GB, free: 3.531 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/1.072, allocations: 1.45 MB / 1.216 GB, free: 3.086 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.072, allocations: 0 / 1.216 GB, free: 3.086 MB / 1.076 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002192/1.074, allocations: 1.689 MB / 1.218 GB, free: 2.535 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/1.074, allocations: 7 kB / 1.218 GB, free: 2.535 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/1.074, allocations: 1.297 kB / 1.218 GB, free: 2.535 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/1.074, allocations: 5.688 kB / 1.218 GB, free: 2.531 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/1.074, allocations: 43.39 kB / 1.218 GB, free: 2.527 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/1.074, allocations: 2.75 kB / 1.218 GB, free: 2.527 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008441/1.075, allocations: 116.2 kB / 1.218 GB, free: 2.469 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/1.075, allocations: 20.47 kB / 1.218 GB, free: 2.465 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.0007266/1.076, allocations: 0.4914 MB / 1.218 GB, free: 2.199 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/1.076, allocations: 171.6 kB / 1.218 GB, free: 2.098 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/1.077, allocations: 0.7113 MB / 1.219 GB, free: 1.875 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.077, allocations: 5.125 kB / 1.219 GB, free: 1.871 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.077, allocations: 0 / 1.219 GB, free: 1.871 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/1.077, allocations: 2.406 kB / 1.219 GB, free: 1.871 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/1.078, allocations: 0.8393 MB / 1.22 GB, free: 1.516 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.078, allocations: 0.6094 kB / 1.22 GB, free: 1.516 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/1.078, allocations: 26.83 kB / 1.22 GB, free: 1.516 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/1.078, allocations: 1.031 kB / 1.22 GB, free: 1.516 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/1.078, allocations: 6.578 kB / 1.22 GB, free: 1.512 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/1.078, allocations: 1.969 kB / 1.22 GB, free: 1.512 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.078, allocations: 11.94 kB / 1.22 GB, free: 1.5 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008399/1.079, allocations: 0.794 MB / 1.221 GB, free: 1.133 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003387/1.08, allocations: 193.3 kB / 1.221 GB, free: 1.012 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/1.08, allocations: 1.094 kB / 1.221 GB, free: 1.012 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/1.08, allocations: 21.88 kB / 1.221 GB, free: 1.008 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/1.08, allocations: 17.17 kB / 1.221 GB, free: 1 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/1.08, allocations: 6.844 kB / 1.221 GB, free: 1 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002316/1.082, allocations: 1.612 MB / 1.222 GB, free: 408 kB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/1.082, allocations: 0 / 1.222 GB, free: 408 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008456/1.083, allocations: 221.8 kB / 1.223 GB, free: 388 kB / 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.0003086/1.084, allocations: 159.7 kB / 1.223 GB, free: 280 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001299/1.085, allocations: 0.9708 MB / 1.224 GB, free: 16 kB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.085, allocations: 1.125 kB / 1.224 GB, free: 16 kB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003999/1.085, allocations: 258.5 kB / 1.224 GB, free: 15.95 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004496/1.09, allocations: 1.208 MB / 1.225 GB, free: 15.57 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004471/1.094, allocations: 2.698 MB / 1.228 GB, free: 14.33 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/1.096, allocations: 0.782 MB / 1.229 GB, free: 14.06 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001052/1.097, allocations: 269.7 kB / 1.229 GB, free: 13.99 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/1.097, allocations: 96.84 kB / 1.229 GB, free: 13.98 MB / 1.092 GB Notification: Performance of SimCode: time 1.383e-06/1.097, allocations: 0 / 1.229 GB, free: 13.98 MB / 1.092 GB Notification: Performance of Templates: time 0.06872/1.166, allocations: 38.32 MB / 1.266 GB, free: 5.023 MB / 1.107 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.pipe 2>&1) [Timeout 800] 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: 10.540363806998357]