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.001853/0.001853, allocations: 105.1 kB / 18.99 MB, free: 2.766 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.00259/0.00259, allocations: 221.5 kB / 22.29 MB, free: 5.148 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.774/1.774, allocations: 230.6 MB / 256.1 MB, free: 7.781 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.814/3.814, allocations: 0.5096 GB / 0.8148 GB, free: 18.39 MB / 0.6231 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.003911/0.003911, allocations: 69.56 kB / 1.184 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6661/0.67, allocations: 181.4 MB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.007516/0.6775, allocations: 2.67 MB / 1.364 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005005/0.6825, allocations: 1.74 MB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006191/0.6831, allocations: 11.94 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003385/0.6865, allocations: 0.7006 MB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.6875, allocations: 222.5 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.6881, allocations: 126.9 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01188/0.7, allocations: 6.584 MB / 1.373 GB, free: 3.488 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002878/0.7003, allocations: 33.25 kB / 1.373 GB, free: 3.449 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006459/0.7009, allocations: 199.1 kB / 1.373 GB, free: 3.254 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006804/0.7016, allocations: 234.8 kB / 1.374 GB, free: 3.023 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002045/0.7018, allocations: 28 kB / 1.374 GB, free: 2.996 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008805/0.7027, allocations: 255.6 kB / 1.374 GB, free: 2.746 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009629/0.7036, allocations: 0.6466 MB / 1.375 GB, free: 2.098 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.705, allocations: 0.5046 MB / 1.375 GB, free: 1.59 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003342/0.7083, allocations: 1.953 MB / 1.377 GB, free: 15.63 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.7083, allocations: 0 / 1.377 GB, free: 15.63 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.845e-06/0.7083, allocations: 0 / 1.377 GB, free: 15.63 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.693e-05/0.7084, allocations: 4 kB / 1.377 GB, free: 15.62 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.003989/0.7124, allocations: 1.851 MB / 1.379 GB, free: 13.73 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 7.236e-05/0.7124, allocations: 15.97 kB / 1.379 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003312/0.7128, allocations: 171.7 kB / 1.379 GB, free: 13.55 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002747/0.7155, allocations: 1.467 MB / 1.38 GB, free: 12.02 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.7155, allocations: 12.06 kB / 1.38 GB, free: 12.01 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.7156, allocations: 15.98 kB / 1.38 GB, free: 11.99 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005218/0.7161, allocations: 289.5 kB / 1.381 GB, free: 11.7 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.7161, allocations: 0 / 1.381 GB, free: 11.7 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.7161, allocations: 4 kB / 1.381 GB, free: 11.7 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.7162, allocations: 0 / 1.381 GB, free: 11.7 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007092/0.7169, allocations: 495.7 kB / 1.381 GB, free: 11.21 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002641/0.7195, allocations: 1.402 MB / 1.383 GB, free: 9.777 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006715/0.7202, allocations: 490.3 kB / 1.383 GB, free: 9.289 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003551/0.7205, allocations: 244.8 kB / 1.383 GB, free: 9.047 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.7206, allocations: 23.98 kB / 1.383 GB, free: 9.023 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.64e-05/0.7207, allocations: 34.56 kB / 1.383 GB, free: 8.98 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 2.464e-06/0.7207, allocations: 0 / 1.383 GB, free: 8.98 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.001464/0.7222, allocations: 0.9144 MB / 1.384 GB, free: 8.059 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/0.7222, allocations: 51.41 kB / 1.384 GB, free: 7.996 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0035/0.7257, allocations: 2.293 MB / 1.387 GB, free: 5.668 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.7258, allocations: 29.7 kB / 1.387 GB, free: 5.633 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008816/0.7267, allocations: 0.6889 MB / 1.387 GB, free: 4.941 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.881e-05/0.7267, allocations: 31.73 kB / 1.387 GB, free: 4.91 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.7269, allocations: 125.6 kB / 1.387 GB, free: 4.781 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002252/0.7272, allocations: 338 kB / 1.388 GB, free: 4.445 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008611/0.728, allocations: 0.6995 MB / 1.388 GB, free: 3.742 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.7291, allocations: 0.9311 MB / 1.389 GB, free: 2.758 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.7309, allocations: 1.445 MB / 1.391 GB, free: 1.297 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.7309, allocations: 0 / 1.391 GB, free: 1.297 MB / 1.076 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00243/0.7333, allocations: 1.687 MB / 1.392 GB, free: 15.61 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.7334, allocations: 8.375 kB / 1.392 GB, free: 15.6 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.7334, allocations: 0 / 1.392 GB, free: 15.6 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.7334, allocations: 0 / 1.392 GB, free: 15.6 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.7336, allocations: 47.95 kB / 1.392 GB, free: 15.55 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.7336, allocations: 3.938 kB / 1.392 GB, free: 15.55 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007108/0.7344, allocations: 108.4 kB / 1.393 GB, free: 15.44 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.376e-05/0.7344, allocations: 23.92 kB / 1.393 GB, free: 15.42 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.0007509/0.7352, allocations: 0.4937 MB / 1.393 GB, free: 14.91 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.7354, allocations: 174.8 kB / 1.393 GB, free: 14.74 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.7365, allocations: 0.7056 MB / 1.394 GB, free: 14.03 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.7365, allocations: 0 / 1.394 GB, free: 14.03 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.7365, allocations: 4 kB / 1.394 GB, free: 14.03 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.7365, allocations: 0 / 1.394 GB, free: 14.03 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.7378, allocations: 0.8483 MB / 1.395 GB, free: 13.14 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7378, allocations: 0 / 1.395 GB, free: 13.14 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.7379, allocations: 23.98 kB / 1.395 GB, free: 13.12 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.7379, allocations: 0 / 1.395 GB, free: 13.12 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.7379, allocations: 8 kB / 1.395 GB, free: 13.11 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.738, allocations: 3.984 kB / 1.395 GB, free: 13.11 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.738, allocations: 0 / 1.395 GB, free: 13.11 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.739, allocations: 0.797 MB / 1.396 GB, free: 12.29 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004333/0.7394, allocations: 198.7 kB / 1.396 GB, free: 12.1 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.7395, allocations: 4 kB / 1.396 GB, free: 12.09 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/0.7399, allocations: 19.97 kB / 1.396 GB, free: 12.07 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.388e-05/0.7399, allocations: 11.98 kB / 1.396 GB, free: 12.06 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.7399, allocations: 8 kB / 1.396 GB, free: 12.05 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002639/0.7426, allocations: 1.614 MB / 1.397 GB, free: 10.42 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/0.7426, allocations: 0 / 1.397 GB, free: 10.42 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007502/0.7433, allocations: 223.8 kB / 1.398 GB, free: 10.2 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.0004129/0.7437, allocations: 163 kB / 1.398 GB, free: 10.04 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001407/0.7452, allocations: 0.9689 MB / 1.399 GB, free: 9.066 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.7452, allocations: 0 / 1.399 GB, free: 9.066 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003769/0.7455, allocations: 259.8 kB / 1.399 GB, free: 8.812 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00411/0.7496, allocations: 1.217 MB / 1.4 GB, free: 7.602 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004859/0.7545, allocations: 2.692 MB / 1.403 GB, free: 4.871 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/0.7557, allocations: 0.7715 MB / 1.403 GB, free: 4.07 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001232/0.7569, allocations: 277.6 kB / 1.404 GB, free: 3.793 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/0.7572, allocations: 95.42 kB / 1.404 GB, free: 3.699 MB / 1.092 GB Notification: Performance of SimCode: time 2.385e-06/0.7572, allocations: 4 kB / 1.404 GB, free: 3.695 MB / 1.092 GB Notification: Performance of Templates: time 0.08025/0.8374, allocations: 40.58 MB / 1.443 GB, free: 11.96 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: 13.013364532031119]