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.002044/0.002044, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002018/0.002018, allocations: 212.8 kB / 22.25 MB, free: 5.258 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.819/1.819, allocations: 230.6 MB / 256 MB, free: 7.789 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.885/3.885, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 175] 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.00235/0.00235, allocations: 72.02 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6408/0.6432, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.005408/0.6486, allocations: 2.662 MB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004096/0.6527, allocations: 1.737 MB / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.6529, allocations: 8 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002444/0.6553, allocations: 0.716 MB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004371/0.6557, allocations: 214.6 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.6561, allocations: 126.2 kB / 1.369 GB, free: 8.125 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01084/0.6669, allocations: 6.58 MB / 1.376 GB, free: 1.535 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.6671, allocations: 25.28 kB / 1.376 GB, free: 1.504 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000309/0.6674, allocations: 207.1 kB / 1.376 GB, free: 1.301 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003549/0.6678, allocations: 238.8 kB / 1.376 GB, free: 1.066 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.863e-05/0.6679, allocations: 28 kB / 1.376 GB, free: 1.039 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006509/0.6685, allocations: 259.6 kB / 1.376 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006777/0.6692, allocations: 0.6311 MB / 1.377 GB, free: 156 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006401/0.6698, allocations: 0.5124 MB / 1.377 GB, free: 15.64 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002566/0.6724, allocations: 1.949 MB / 1.379 GB, free: 13.68 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.6724, allocations: 4 kB / 1.379 GB, free: 13.68 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.535e-06/0.6724, allocations: 0 / 1.379 GB, free: 13.68 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.714e-05/0.6724, allocations: 3.984 kB / 1.379 GB, free: 13.67 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.00341/0.6758, allocations: 1.855 MB / 1.381 GB, free: 11.77 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.6759, allocations: 12.03 kB / 1.381 GB, free: 11.76 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002739/0.6762, allocations: 179.7 kB / 1.381 GB, free: 11.59 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002641/0.6788, allocations: 1.459 MB / 1.383 GB, free: 10.07 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.6788, allocations: 12.11 kB / 1.383 GB, free: 10.05 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/0.6789, allocations: 12 kB / 1.383 GB, free: 10.04 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000505/0.6794, allocations: 285.6 kB / 1.383 GB, free: 9.758 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.6794, allocations: 0 / 1.383 GB, free: 9.758 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.6794, allocations: 8 kB / 1.383 GB, free: 9.75 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.6794, allocations: 4 kB / 1.383 GB, free: 9.746 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007431/0.6802, allocations: 491.8 kB / 1.384 GB, free: 9.266 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002507/0.6827, allocations: 1.394 MB / 1.385 GB, free: 7.836 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006837/0.6834, allocations: 490.4 kB / 1.385 GB, free: 7.348 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003543/0.6837, allocations: 244.8 kB / 1.386 GB, free: 7.105 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.886e-05/0.6838, allocations: 28.09 kB / 1.386 GB, free: 7.078 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.6839, allocations: 42.62 kB / 1.386 GB, free: 7.027 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.843e-06/0.6839, allocations: 0 / 1.386 GB, free: 7.027 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.001499/0.6854, allocations: 0.9183 MB / 1.387 GB, free: 6.102 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/0.6854, allocations: 51.41 kB / 1.387 GB, free: 6.039 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003897/0.6893, allocations: 2.293 MB / 1.389 GB, free: 3.711 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.6894, allocations: 29.69 kB / 1.389 GB, free: 3.676 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009095/0.6903, allocations: 0.685 MB / 1.39 GB, free: 2.984 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.6903, allocations: 39.69 kB / 1.39 GB, free: 2.945 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002314/0.6906, allocations: 121.6 kB / 1.39 GB, free: 2.82 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002281/0.6908, allocations: 337.9 kB / 1.39 GB, free: 2.484 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008971/0.6917, allocations: 0.6918 MB / 1.391 GB, free: 1.789 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.6928, allocations: 0.9294 MB / 1.392 GB, free: 0.8047 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/0.6946, allocations: 1.456 MB / 1.393 GB, free: 15.33 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.6946, allocations: 0 / 1.393 GB, free: 15.33 MB / 1.092 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002367/0.697, allocations: 1.675 MB / 1.395 GB, free: 13.65 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.599e-05/0.697, allocations: 4 kB / 1.395 GB, free: 13.64 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.697, allocations: 3.938 kB / 1.395 GB, free: 13.64 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.375e-05/0.6971, allocations: 7.984 kB / 1.395 GB, free: 13.63 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.6973, allocations: 39.97 kB / 1.395 GB, free: 13.59 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.6973, allocations: 4.094 kB / 1.395 GB, free: 13.59 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000664/0.698, allocations: 111.3 kB / 1.395 GB, free: 13.48 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.698, allocations: 19.94 kB / 1.395 GB, free: 13.46 MB / 1.092 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.0007351/0.6988, allocations: 0.4937 MB / 1.395 GB, free: 12.96 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/0.699, allocations: 170.8 kB / 1.396 GB, free: 12.79 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.7001, allocations: 0.7173 MB / 1.396 GB, free: 12.07 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.7001, allocations: 0 / 1.396 GB, free: 12.07 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.7001, allocations: 0 / 1.396 GB, free: 12.07 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.7001, allocations: 0 / 1.396 GB, free: 12.07 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.7014, allocations: 0.8445 MB / 1.397 GB, free: 11.19 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.7014, allocations: 0 / 1.397 GB, free: 11.19 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.7016, allocations: 35.91 kB / 1.397 GB, free: 11.15 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.7016, allocations: 0 / 1.397 GB, free: 11.15 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.7016, allocations: 4 kB / 1.397 GB, free: 11.15 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.7016, allocations: 4 kB / 1.397 GB, free: 11.14 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7016, allocations: 0 / 1.397 GB, free: 11.14 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.7027, allocations: 0.793 MB / 1.398 GB, free: 10.33 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004182/0.7031, allocations: 194.8 kB / 1.398 GB, free: 10.14 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.7032, allocations: 4 kB / 1.398 GB, free: 10.14 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003145/0.7036, allocations: 23.97 kB / 1.398 GB, free: 10.11 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/0.7036, allocations: 7.984 kB / 1.398 GB, free: 10.11 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.7037, allocations: 8 kB / 1.398 GB, free: 10.1 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0025/0.7062, allocations: 1.618 MB / 1.4 GB, free: 8.461 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/0.7062, allocations: 0 / 1.4 GB, free: 8.461 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007648/0.7069, allocations: 215.9 kB / 1.4 GB, free: 8.25 MB / 1.092 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.000394/0.7073, allocations: 167 kB / 1.4 GB, free: 8.078 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001435/0.7088, allocations: 0.9751 MB / 1.401 GB, free: 7.105 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.7088, allocations: 0 / 1.401 GB, free: 7.105 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003829/0.7091, allocations: 264 kB / 1.401 GB, free: 6.848 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004282/0.7134, allocations: 1.202 MB / 1.402 GB, free: 5.652 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004633/0.7181, allocations: 2.704 MB / 1.405 GB, free: 2.91 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/0.7192, allocations: 0.7752 MB / 1.406 GB, free: 2.105 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001045/0.7202, allocations: 269.7 kB / 1.406 GB, free: 1.836 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002506/0.7205, allocations: 103.4 kB / 1.406 GB, free: 1.734 MB / 1.092 GB Notification: Performance of SimCode: time 1.433e-06/0.7205, allocations: 0 / 1.406 GB, free: 1.734 MB / 1.092 GB Notification: Performance of Templates: time 0.07766/0.7982, allocations: 40.54 MB / 1.446 GB, free: 10.05 MB / 1.139 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 -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/jenkins/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: 12.85123929195106]