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.002431/0.002431, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002629/0.002629, allocations: 214.7 kB / 22.99 MB, free: 4.984 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 2.019/2.019, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.856/3.856, allocations: 0.505 GB / 0.8108 GB, free: 23.53 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.002215/0.002215, allocations: 68 kB / 1.178 GB, free: 16.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6341/0.6364, allocations: 180.2 MB / 1.354 GB, free: 7.41 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.005932/0.6423, allocations: 2.67 MB / 1.357 GB, free: 4.727 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00407/0.6464, allocations: 1.742 MB / 1.358 GB, free: 2.98 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.6465, allocations: 8 kB / 1.358 GB, free: 2.973 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0024/0.6489, allocations: 0.7096 MB / 1.359 GB, free: 2.262 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004341/0.6494, allocations: 210.6 kB / 1.359 GB, free: 2.055 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.6497, allocations: 124.3 kB / 1.359 GB, free: 1.934 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01161/0.6613, allocations: 6.626 MB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.6616, allocations: 25.28 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003307/0.6619, allocations: 207.2 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003508/0.6622, allocations: 250.8 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.84e-05/0.6623, allocations: 31.94 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006944/0.663, allocations: 275.6 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007733/0.6638, allocations: 0.6272 MB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006187/0.6644, allocations: 0.5124 MB / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002646/0.6671, allocations: 1.96 MB / 1.37 GB, free: 7.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.6671, allocations: 4 kB / 1.37 GB, free: 7.406 MB / 1.061 GB Notification: Performance of FrontEnd: time 4.308e-06/0.6671, allocations: 0 / 1.37 GB, free: 7.406 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.318e-05/0.6671, allocations: 0 / 1.37 GB, free: 7.406 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.003593/0.6707, allocations: 1.855 MB / 1.371 GB, free: 5.508 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.369e-05/0.6708, allocations: 8.031 kB / 1.371 GB, free: 5.5 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003147/0.6711, allocations: 179.7 kB / 1.372 GB, free: 5.324 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002802/0.6739, allocations: 1.459 MB / 1.373 GB, free: 3.801 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.6739, allocations: 12.12 kB / 1.373 GB, free: 3.789 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.674, allocations: 8 kB / 1.373 GB, free: 3.781 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006153/0.6746, allocations: 301.4 kB / 1.373 GB, free: 3.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.6746, allocations: 0 / 1.373 GB, free: 3.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.6746, allocations: 0 / 1.373 GB, free: 3.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.6746, allocations: 4 kB / 1.373 GB, free: 3.477 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007999/0.6754, allocations: 491.8 kB / 1.374 GB, free: 2.996 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00262/0.678, allocations: 1.398 MB / 1.375 GB, free: 1.562 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007656/0.6788, allocations: 490.4 kB / 1.376 GB, free: 1.074 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004061/0.6792, allocations: 244.8 kB / 1.376 GB, free: 0.832 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.816e-05/0.6793, allocations: 23.98 kB / 1.376 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.613e-05/0.6794, allocations: 42.69 kB / 1.376 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.6794, allocations: 0 / 1.376 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.001643/0.681, allocations: 0.9103 MB / 1.377 GB, free: 15.84 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.6811, allocations: 51.41 kB / 1.377 GB, free: 15.78 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00344/0.6845, allocations: 2.297 MB / 1.379 GB, free: 13.45 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.6846, allocations: 29.69 kB / 1.379 GB, free: 13.41 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008245/0.6854, allocations: 0.6928 MB / 1.38 GB, free: 12.71 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/0.6854, allocations: 27.75 kB / 1.38 GB, free: 12.69 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.6856, allocations: 125.6 kB / 1.38 GB, free: 12.56 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002394/0.6859, allocations: 337.9 kB / 1.38 GB, free: 12.22 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009677/0.6868, allocations: 0.6918 MB / 1.381 GB, free: 11.53 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/0.6881, allocations: 0.9256 MB / 1.382 GB, free: 10.55 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/0.6902, allocations: 1.456 MB / 1.383 GB, free: 9.078 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.6902, allocations: 0 / 1.383 GB, free: 9.078 MB / 1.076 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002581/0.6928, allocations: 1.676 MB / 1.385 GB, free: 7.391 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/0.6929, allocations: 9.656 kB / 1.385 GB, free: 7.383 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.6929, allocations: 8.406 kB / 1.385 GB, free: 7.375 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.05e-05/0.6929, allocations: 4 kB / 1.385 GB, free: 7.371 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.6932, allocations: 39.91 kB / 1.385 GB, free: 7.332 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.6932, allocations: 0 / 1.385 GB, free: 7.332 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000687/0.6939, allocations: 119.2 kB / 1.385 GB, free: 7.215 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.636e-05/0.6939, allocations: 23.94 kB / 1.385 GB, free: 7.191 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.000725/0.6947, allocations: 0.4936 MB / 1.386 GB, free: 6.688 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/0.6949, allocations: 170.8 kB / 1.386 GB, free: 6.52 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.6962, allocations: 0.7096 MB / 1.386 GB, free: 5.805 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.6962, allocations: 0 / 1.386 GB, free: 5.805 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.6963, allocations: 0 / 1.386 GB, free: 5.805 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.6963, allocations: 3.984 kB / 1.386 GB, free: 5.801 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.6977, allocations: 0.8522 MB / 1.387 GB, free: 4.914 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.6977, allocations: 0 / 1.387 GB, free: 4.914 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.6978, allocations: 31.92 kB / 1.387 GB, free: 4.883 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.6978, allocations: 0 / 1.387 GB, free: 4.883 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.6978, allocations: 4 kB / 1.387 GB, free: 4.879 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.6978, allocations: 3.938 kB / 1.387 GB, free: 4.875 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.6978, allocations: 0 / 1.387 GB, free: 4.875 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.6989, allocations: 0.7931 MB / 1.388 GB, free: 4.062 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004228/0.6993, allocations: 194.8 kB / 1.388 GB, free: 3.871 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.6995, allocations: 0 / 1.388 GB, free: 3.871 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003255/0.6998, allocations: 27.97 kB / 1.388 GB, free: 3.844 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/0.6999, allocations: 7.984 kB / 1.388 GB, free: 3.836 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.6999, allocations: 11.98 kB / 1.388 GB, free: 3.824 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002532/0.7024, allocations: 1.61 MB / 1.39 GB, free: 2.195 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.7024, allocations: 0 / 1.39 GB, free: 2.195 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008015/0.7032, allocations: 215.9 kB / 1.39 GB, free: 1.984 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.0004522/0.7037, allocations: 178.9 kB / 1.39 GB, free: 1.801 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001475/0.7051, allocations: 0.9652 MB / 1.391 GB, free: 0.8359 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.7051, allocations: 0 / 1.391 GB, free: 0.8359 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003788/0.7055, allocations: 263.8 kB / 1.392 GB, free: 0.5781 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004179/0.7097, allocations: 1.211 MB / 1.393 GB, free: 15.38 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004735/0.7144, allocations: 2.692 MB / 1.395 GB, free: 12.64 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/0.7155, allocations: 0.7715 MB / 1.396 GB, free: 11.84 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0009066/0.7164, allocations: 273.7 kB / 1.396 GB, free: 11.57 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.7167, allocations: 95.36 kB / 1.396 GB, free: 11.48 MB / 1.092 GB Notification: Performance of SimCode: time 1.372e-06/0.7167, allocations: 0 / 1.396 GB, free: 11.48 MB / 1.092 GB Notification: Performance of Templates: time 0.07842/0.7951, allocations: 40.59 MB / 1.436 GB, free: 3.68 MB / 1.123 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 cvode -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: 13.624811075991602]