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.00149/0.00149, allocations: 103.4 kB / 16.45 MB, free: 6.449 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.00159/0.00159, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.517/1.517, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.314/3.314, allocations: 0.5049 GB / 0.8065 GB, free: 23.06 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.002168/0.002168, allocations: 68.86 kB / 1.172 GB, free: 17.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3706, allocations: 180.2 MB / 1.348 GB, free: 9.422 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.00443/0.3751, allocations: 2.858 MB / 1.351 GB, free: 6.547 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003207/0.3783, allocations: 1.874 MB / 1.353 GB, free: 4.668 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.3784, allocations: 8 kB / 1.353 GB, free: 4.66 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.3803, allocations: 0.7667 MB / 1.354 GB, free: 3.891 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000374/0.3807, allocations: 218.6 kB / 1.354 GB, free: 3.676 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.3809, allocations: 130.7 kB / 1.354 GB, free: 3.551 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.009163/0.3901, allocations: 6.333 MB / 1.36 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.3902, allocations: 25.09 kB / 1.36 GB, free: 13.18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.3905, allocations: 207 kB / 1.36 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003165/0.3908, allocations: 262.8 kB / 1.361 GB, free: 12.72 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.571e-05/0.3909, allocations: 24 kB / 1.361 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005003/0.3914, allocations: 251.7 kB / 1.361 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005754/0.392, allocations: 0.6387 MB / 1.361 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006262/0.3926, allocations: 0.6794 MB / 1.362 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002045/0.3946, allocations: 1.937 MB / 1.364 GB, free: 9.18 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3946, allocations: 0 / 1.364 GB, free: 9.18 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3946, allocations: 0 / 1.364 GB, free: 9.18 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.3946, allocations: 0 / 1.364 GB, free: 9.18 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.002698/0.3973, allocations: 1.938 MB / 1.366 GB, free: 7.18 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3974, allocations: 11.98 kB / 1.366 GB, free: 7.168 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002401/0.3976, allocations: 175.7 kB / 1.366 GB, free: 6.996 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002155/0.3998, allocations: 1.507 MB / 1.368 GB, free: 5.422 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.3998, allocations: 16.11 kB / 1.368 GB, free: 5.406 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.3998, allocations: 8 kB / 1.368 GB, free: 5.398 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005218/0.4004, allocations: 297.4 kB / 1.368 GB, free: 5.102 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.4004, allocations: 4 kB / 1.368 GB, free: 5.098 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.4004, allocations: 3.938 kB / 1.368 GB, free: 5.094 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4004, allocations: 0 / 1.368 GB, free: 5.094 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006264/0.401, allocations: 495.8 kB / 1.368 GB, free: 4.609 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.4032, allocations: 1.548 MB / 1.37 GB, free: 3.004 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000707/0.4039, allocations: 498.3 kB / 1.37 GB, free: 2.508 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/0.4042, allocations: 248.8 kB / 1.371 GB, free: 2.262 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.22e-05/0.4043, allocations: 19.98 kB / 1.371 GB, free: 2.242 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.4043, allocations: 34.56 kB / 1.371 GB, free: 2.199 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.4043, allocations: 0 / 1.371 GB, free: 2.199 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.001256/0.4055, allocations: 0.9144 MB / 1.372 GB, free: 1.277 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.4056, allocations: 51.41 kB / 1.372 GB, free: 1.215 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003014/0.4086, allocations: 2.301 MB / 1.374 GB, free: 14.88 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.4086, allocations: 33.69 kB / 1.374 GB, free: 14.84 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007139/0.4094, allocations: 0.6811 MB / 1.375 GB, free: 14.15 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.4094, allocations: 31.73 kB / 1.375 GB, free: 14.12 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/0.4096, allocations: 129.6 kB / 1.375 GB, free: 13.99 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.4097, allocations: 334 kB / 1.375 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008084/0.4106, allocations: 0.6957 MB / 1.376 GB, free: 12.96 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00093/0.4115, allocations: 0.7711 MB / 1.376 GB, free: 12.17 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.4131, allocations: 1.452 MB / 1.378 GB, free: 10.7 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.4131, allocations: 112 / 1.378 GB, free: 10.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002113/0.4152, allocations: 1.687 MB / 1.379 GB, free: 9.004 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.4153, allocations: 4 kB / 1.379 GB, free: 9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.4153, allocations: 8.078 kB / 1.379 GB, free: 8.992 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.4153, allocations: 4 kB / 1.379 GB, free: 8.988 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.4155, allocations: 39.97 kB / 1.38 GB, free: 8.949 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.4155, allocations: 0 / 1.38 GB, free: 8.949 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005792/0.4161, allocations: 127.3 kB / 1.38 GB, free: 8.824 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.4161, allocations: 12 kB / 1.38 GB, free: 8.812 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.0006219/0.4168, allocations: 0.4936 MB / 1.38 GB, free: 8.309 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/0.417, allocations: 170.8 kB / 1.38 GB, free: 8.141 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.418, allocations: 0.7094 MB / 1.381 GB, free: 7.422 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.418, allocations: 384 / 1.381 GB, free: 7.422 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.418, allocations: 0 / 1.381 GB, free: 7.422 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4181, allocations: 3.938 kB / 1.381 GB, free: 7.418 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.4193, allocations: 0.9835 MB / 1.382 GB, free: 6.379 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4193, allocations: 3.938 kB / 1.382 GB, free: 6.375 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.4194, allocations: 31.97 kB / 1.382 GB, free: 6.344 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4194, allocations: 3.938 kB / 1.382 GB, free: 6.34 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.4194, allocations: 8 kB / 1.382 GB, free: 6.332 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4194, allocations: 0 / 1.382 GB, free: 6.332 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4194, allocations: 0 / 1.382 GB, free: 6.332 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009303/0.4204, allocations: 0.797 MB / 1.383 GB, free: 5.516 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003549/0.4207, allocations: 279.8 kB / 1.383 GB, free: 5.223 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.4209, allocations: 0 / 1.383 GB, free: 5.223 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003635/0.4212, allocations: 23.97 kB / 1.383 GB, free: 5.199 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.4213, allocations: 11.92 kB / 1.383 GB, free: 5.188 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.4213, allocations: 8 kB / 1.383 GB, free: 5.18 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002256/0.4236, allocations: 1.614 MB / 1.385 GB, free: 3.547 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4236, allocations: 0 / 1.385 GB, free: 3.547 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000645/0.4242, allocations: 211.9 kB / 1.385 GB, free: 3.34 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.0003404/0.4245, allocations: 165.4 kB / 1.385 GB, free: 3.172 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.4258, allocations: 0.9728 MB / 1.386 GB, free: 2.199 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4258, allocations: 0 / 1.386 GB, free: 2.199 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003447/0.4262, allocations: 259.8 kB / 1.386 GB, free: 1.945 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004242/0.4304, allocations: 1.21 MB / 1.387 GB, free: 0.7422 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/0.4342, allocations: 2.696 MB / 1.39 GB, free: 14.01 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/0.4354, allocations: 1.368 MB / 1.391 GB, free: 12.61 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008229/0.4363, allocations: 265.7 kB / 1.392 GB, free: 12.35 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.4365, allocations: 103.4 kB / 1.392 GB, free: 12.25 MB / 1.092 GB Notification: Performance of SimCode: time 5.71e-07/0.4365, allocations: 0 / 1.392 GB, free: 12.25 MB / 1.092 GB Notification: Performance of Templates: time 0.06203/0.4985, allocations: 34.74 MB / 1.426 GB, free: 10.11 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/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: 10.005379252135754]