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.0007517/0.0007517, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001064/0.001816, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006926/0.0006926, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000959/0.001652, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.883/0.883, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07411/0.9571, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.26/2.26, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2136/2.474, allocations: 146 MB / 0.8176 GB, free: 3.82 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.8189 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.71e-05/1.855e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.004093/0.004112, allocations: 2.873 MB / 0.8218 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003041/0.007153, allocations: 1.871 MB / 0.8236 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.007317, allocations: 11.94 kB / 0.8236 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.009024, allocations: 0.6847 MB / 0.8243 GB, free: 13 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003761/0.0094, allocations: 230.2 kB / 0.8245 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.009648, allocations: 123.8 kB / 0.8246 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.005856/0.0155, allocations: 6.157 MB / 0.8306 GB, free: 6.488 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.0156, allocations: 33.27 kB / 0.8306 GB, free: 6.449 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000354/0.01596, allocations: 387.6 kB / 0.831 GB, free: 6.066 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.01613, allocations: 195.4 kB / 0.8312 GB, free: 5.875 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.981e-05/0.01617, allocations: 28 kB / 0.8312 GB, free: 5.848 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004097/0.01658, allocations: 283.6 kB / 0.8315 GB, free: 5.57 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0003331/0.01691, allocations: 0.6547 MB / 0.8321 GB, free: 4.914 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002314/0.01714, allocations: 343 kB / 0.8325 GB, free: 4.578 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0009173/0.01806, allocations: 1.132 MB / 0.8336 GB, free: 3.441 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 9.898e-06/0.01807, allocations: 4 kB / 0.8336 GB, free: 3.438 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.32e-07/0.01807, allocations: 4 kB / 0.8336 GB, free: 3.434 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.459e-05/0.0181, allocations: 3.938 kB / 0.8336 GB, free: 3.43 MB / 0.8073 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.001614/0.01971, allocations: 2.048 MB / 0.8356 GB, free: 1.344 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.808e-05/0.01974, allocations: 8.031 kB / 0.8356 GB, free: 1.336 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.01985, allocations: 88.83 kB / 0.8357 GB, free: 1.25 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.02093, allocations: 1.001 MB / 0.8367 GB, free: 188 kB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.02094, allocations: 12.36 kB / 0.8367 GB, free: 176 kB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.02096, allocations: 8.375 kB / 0.8367 GB, free: 168 kB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.02107, allocations: 85.11 kB / 0.8368 GB, free: 72 kB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/0.02108, allocations: 7.938 kB / 0.8368 GB, free: 64 kB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.02109, allocations: 0 / 0.8368 GB, free: 64 kB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001161/0.0212, allocations: 160 kB / 0.8369 GB, free: 15.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.98e-05/0.02125, allocations: 31.89 kB / 0.8369 GB, free: 15.87 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/0.02186, allocations: 0.5555 MB / 0.8375 GB, free: 15.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.535e-05/0.02194, allocations: 93.23 kB / 0.8376 GB, free: 15.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.361e-05/0.02196, allocations: 12.86 kB / 0.8376 GB, free: 15.18 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.773e-05/0.022, allocations: 28.17 kB / 0.8376 GB, free: 15.16 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.02202, allocations: 38.5 kB / 0.8376 GB, free: 15.11 MB / 0.823 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.02202, allocations: 4 kB / 0.8377 GB, free: 15.11 MB / 0.823 GB Notification: Performance of matching and sorting (n=9): time 0.0001861/0.0222, allocations: 145.4 kB / 0.8378 GB, free: 14.96 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.02223, allocations: 55.41 kB / 0.8378 GB, free: 14.89 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008953/0.02312, allocations: 1.465 MB / 0.8393 GB, free: 13.39 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.02314, allocations: 33.69 kB / 0.8393 GB, free: 13.35 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.02332, allocations: 345.1 kB / 0.8396 GB, free: 13.01 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.02334, allocations: 31.73 kB / 0.8397 GB, free: 12.98 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.343e-05/0.02343, allocations: 113.5 kB / 0.8398 GB, free: 12.86 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.977e-05/0.0235, allocations: 333.9 kB / 0.8401 GB, free: 12.53 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.45e-05/0.02358, allocations: 99.45 kB / 0.8402 GB, free: 12.43 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.02373, allocations: 324 kB / 0.8405 GB, free: 12.06 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.02392, allocations: 265.3 kB / 0.8408 GB, free: 11.79 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.02392, allocations: 7.875 kB / 0.8408 GB, free: 11.78 MB / 0.823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0003121/0.02423, allocations: 389.4 kB / 0.8411 GB, free: 11.39 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.02425, allocations: 4 kB / 0.8411 GB, free: 11.39 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.02425, allocations: 64 / 0.8411 GB, free: 11.39 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.02426, allocations: 8 kB / 0.8411 GB, free: 11.38 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.02438, allocations: 48.05 kB / 0.8412 GB, free: 11.33 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.02438, allocations: 0 / 0.8412 GB, free: 11.33 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.02461, allocations: 119.2 kB / 0.8413 GB, free: 11.21 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.02463, allocations: 12 kB / 0.8413 GB, free: 11.2 MB / 0.823 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.0001287/0.02476, allocations: 120.6 kB / 0.8414 GB, free: 11.07 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.039e-05/0.02483, allocations: 79.89 kB / 0.8415 GB, free: 11 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.02506, allocations: 218.7 kB / 0.8417 GB, free: 10.77 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.02506, allocations: 0 / 0.8417 GB, free: 10.77 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.02506, allocations: 4 kB / 0.8417 GB, free: 10.77 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.02506, allocations: 0 / 0.8417 GB, free: 10.77 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003661/0.02543, allocations: 459.3 kB / 0.8422 GB, free: 10.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.02543, allocations: 4 kB / 0.8422 GB, free: 10.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.9e-05/0.02549, allocations: 23.98 kB / 0.8422 GB, free: 10.27 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.02563, allocations: 182.6 kB / 0.8424 GB, free: 10.09 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.02564, allocations: 4 kB / 0.8424 GB, free: 10.09 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.02564, allocations: 4 kB / 0.8424 GB, free: 10.09 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.02564, allocations: 4 kB / 0.8424 GB, free: 10.08 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.02565, allocations: 3.984 kB / 0.8424 GB, free: 10.08 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.02581, allocations: 300 kB / 0.8427 GB, free: 9.766 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.436e-05/0.02587, allocations: 4 kB / 0.8427 GB, free: 9.762 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.02603, allocations: 15.98 kB / 0.8427 GB, free: 9.746 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.02606, allocations: 11.97 kB / 0.8427 GB, free: 9.734 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.02607, allocations: 4 kB / 0.8427 GB, free: 9.73 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005379/0.0266, allocations: 0.7742 MB / 0.8434 GB, free: 8.934 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.0266, allocations: 0 / 0.8434 GB, free: 8.934 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0005828/0.02719, allocations: 215.9 kB / 0.8437 GB, free: 8.723 MB / 0.823 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.000196/0.02738, allocations: 156.3 kB / 0.8438 GB, free: 8.562 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001986/0.02758, allocations: 178.6 kB / 0.844 GB, free: 8.383 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/0.02759, allocations: 20 kB / 0.844 GB, free: 8.363 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.562e-05/0.02764, allocations: 40.78 kB / 0.844 GB, free: 8.32 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005127/0.03277, allocations: 12.23 MB / 0.856 GB, free: 9.508 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.03489, allocations: 2.082 MB / 0.858 GB, free: 7.379 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.03514, allocations: 391.6 kB / 0.8584 GB, free: 6.973 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004334/0.03557, allocations: 213.6 kB / 0.8586 GB, free: 6.758 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001196/0.03677, allocations: 0.7253 MB / 0.8593 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of SimCode: time 7.41e-07/0.03677, allocations: 0 / 0.8593 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of Templates: time 0.04158/0.07835, allocations: 45.33 MB / 0.9036 GB, free: 9.941 MB / 0.8855 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels/Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.473433159291744]