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.00176/0.00176, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002051/0.002051, allocations: 213.6 kB / 22.99 MB, free: 4.945 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.202/3.202, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 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.002068/0.002068, allocations: 69.06 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3927, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.004331/0.397, allocations: 2.669 MB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003476/0.4005, allocations: 1.754 MB / 1.369 GB, free: 9.113 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002262/0.4007, allocations: 4 kB / 1.369 GB, free: 9.109 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001977/0.4027, allocations: 0.7084 MB / 1.37 GB, free: 8.398 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004338/0.4031, allocations: 210.6 kB / 1.37 GB, free: 8.191 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.4035, allocations: 126.5 kB / 1.37 GB, free: 8.07 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.009478/0.4129, allocations: 6.577 MB / 1.376 GB, free: 1.484 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.4131, allocations: 37.2 kB / 1.376 GB, free: 1.441 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002624/0.4134, allocations: 195.1 kB / 1.377 GB, free: 1.25 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003071/0.4137, allocations: 242.7 kB / 1.377 GB, free: 1.012 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.715e-05/0.4137, allocations: 28 kB / 1.377 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005414/0.4143, allocations: 255.7 kB / 1.377 GB, free: 0.7344 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005745/0.4149, allocations: 0.6426 MB / 1.378 GB, free: 92 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005373/0.4154, allocations: 0.5048 MB / 1.378 GB, free: 15.58 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002079/0.4175, allocations: 1.949 MB / 1.38 GB, free: 13.62 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4175, allocations: 0 / 1.38 GB, free: 13.62 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4175, allocations: 4 kB / 1.38 GB, free: 13.62 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.093e-05/0.4175, allocations: 0 / 1.38 GB, free: 13.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.002823/0.4203, allocations: 1.859 MB / 1.382 GB, free: 11.71 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.4204, allocations: 8.031 kB / 1.382 GB, free: 11.71 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002342/0.4206, allocations: 175.7 kB / 1.382 GB, free: 11.54 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/0.4229, allocations: 1.463 MB / 1.384 GB, free: 10.01 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.4229, allocations: 12.11 kB / 1.384 GB, free: 10 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.4229, allocations: 12 kB / 1.384 GB, free: 9.988 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000426/0.4233, allocations: 289.6 kB / 1.384 GB, free: 9.699 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4234, allocations: 0 / 1.384 GB, free: 9.699 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.4234, allocations: 4 kB / 1.384 GB, free: 9.695 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.4234, allocations: 0 / 1.384 GB, free: 9.695 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006074/0.424, allocations: 499.7 kB / 1.384 GB, free: 9.207 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002108/0.4261, allocations: 1.398 MB / 1.386 GB, free: 7.773 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005784/0.4267, allocations: 486.4 kB / 1.386 GB, free: 7.289 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/0.427, allocations: 248.8 kB / 1.386 GB, free: 7.043 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.27e-05/0.427, allocations: 23.98 kB / 1.386 GB, free: 7.02 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.4271, allocations: 30.56 kB / 1.386 GB, free: 6.98 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 2.104e-06/0.4271, allocations: 0 / 1.386 GB, free: 6.98 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.001228/0.4283, allocations: 0.9143 MB / 1.387 GB, free: 6.059 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.4283, allocations: 59.34 kB / 1.387 GB, free: 5.988 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002979/0.4313, allocations: 2.294 MB / 1.39 GB, free: 3.66 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.4314, allocations: 29.7 kB / 1.39 GB, free: 3.625 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007148/0.4321, allocations: 0.6889 MB / 1.39 GB, free: 2.93 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.168e-05/0.4321, allocations: 35.69 kB / 1.39 GB, free: 2.895 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.4323, allocations: 121.6 kB / 1.39 GB, free: 2.77 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.4325, allocations: 337.9 kB / 1.391 GB, free: 2.434 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008146/0.4333, allocations: 0.6996 MB / 1.391 GB, free: 1.73 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009374/0.4342, allocations: 0.9256 MB / 1.392 GB, free: 0.75 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/0.4358, allocations: 1.452 MB / 1.394 GB, free: 15.28 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.4358, allocations: 0 / 1.394 GB, free: 15.28 MB / 1.092 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002223/0.438, allocations: 1.679 MB / 1.395 GB, free: 13.59 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.4381, allocations: 4 kB / 1.395 GB, free: 13.59 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.4381, allocations: 4 kB / 1.395 GB, free: 13.59 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4381, allocations: 4.094 kB / 1.395 GB, free: 13.58 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.4383, allocations: 51.95 kB / 1.396 GB, free: 13.53 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.4383, allocations: 4 kB / 1.396 GB, free: 13.53 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006986/0.439, allocations: 108.4 kB / 1.396 GB, free: 13.42 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/0.4391, allocations: 23.92 kB / 1.396 GB, free: 13.4 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.0007299/0.4398, allocations: 0.4897 MB / 1.396 GB, free: 12.9 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/0.44, allocations: 174.8 kB / 1.396 GB, free: 12.73 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.4411, allocations: 0.7018 MB / 1.397 GB, free: 12.02 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.4411, allocations: 4 kB / 1.397 GB, free: 12.02 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4411, allocations: 0 / 1.397 GB, free: 12.02 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4411, allocations: 0 / 1.397 GB, free: 12.02 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.4422, allocations: 0.8483 MB / 1.398 GB, free: 11.13 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4422, allocations: 0 / 1.398 GB, free: 11.13 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.4423, allocations: 39.98 kB / 1.398 GB, free: 11.09 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.4423, allocations: 3.938 kB / 1.398 GB, free: 11.09 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.4424, allocations: 4 kB / 1.398 GB, free: 11.09 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4424, allocations: 3.984 kB / 1.398 GB, free: 11.08 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4424, allocations: 0 / 1.398 GB, free: 11.08 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009022/0.4433, allocations: 0.793 MB / 1.399 GB, free: 10.27 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004164/0.4437, allocations: 194.8 kB / 1.399 GB, free: 10.08 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.4438, allocations: 4 kB / 1.399 GB, free: 10.07 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/0.4442, allocations: 19.97 kB / 1.399 GB, free: 10.05 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.4442, allocations: 15.98 kB / 1.399 GB, free: 10.04 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.4442, allocations: 4 kB / 1.399 GB, free: 10.04 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002261/0.4465, allocations: 1.614 MB / 1.4 GB, free: 8.402 MB / 1.092 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4465, allocations: 0 / 1.4 GB, free: 8.402 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007152/0.4472, allocations: 215.9 kB / 1.401 GB, free: 8.191 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.0003301/0.4475, allocations: 163 kB / 1.401 GB, free: 8.023 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001285/0.4488, allocations: 0.9769 MB / 1.402 GB, free: 7.047 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4488, allocations: 0 / 1.402 GB, free: 7.047 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003389/0.4492, allocations: 260 kB / 1.402 GB, free: 6.793 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004442/0.4536, allocations: 1.211 MB / 1.403 GB, free: 5.59 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/0.4582, allocations: 2.831 MB / 1.406 GB, free: 2.719 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.4593, allocations: 0.783 MB / 1.407 GB, free: 1.906 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/0.4596, allocations: 103.4 kB / 1.407 GB, free: 1.805 MB / 1.092 GB Notification: Performance of SimCode: time 1.132e-06/0.4596, allocations: 0 / 1.407 GB, free: 1.805 MB / 1.092 GB Notification: Performance of Templates: time 0.04656/0.5062, allocations: 28.04 MB / 1.434 GB, free: 6.117 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 -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: 19.726877570152283]