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.0009332/0.0009332, allocations: 81.14 kB / 19.87 MB, free: 4.625 MB / 18.57 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.0009616/0.0009616, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 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.8909/0.8909, allocations: 177.1 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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 2.219/2.219, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8898 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.621e-05, allocations: 6.25 kB / 0.8898 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.003064/0.00309, allocations: 2.805 MB / 0.8925 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002258/0.005348, allocations: 1.816 MB / 0.8943 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.005506, allocations: 8 kB / 0.8943 GB, free: 5.094 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.006884, allocations: 0.7119 MB / 0.895 GB, free: 4.379 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.007153, allocations: 218.4 kB / 0.8952 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.007355, allocations: 131.7 kB / 0.8953 GB, free: 4.035 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.005502/0.01286, allocations: 6.642 MB / 0.9018 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.01299, allocations: 25.28 kB / 0.9018 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002859/0.01327, allocations: 271.2 kB / 0.9021 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.01345, allocations: 203.3 kB / 0.9023 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.948e-05/0.0135, allocations: 28 kB / 0.9023 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003703/0.01387, allocations: 271.5 kB / 0.9026 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003928/0.01426, allocations: 0.6625 MB / 0.9032 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.01453, allocations: 394.8 kB / 0.9036 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009825/0.01551, allocations: 1.198 MB / 0.9048 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.01552, allocations: 7.984 kB / 0.9048 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.723e-06/0.01552, allocations: 0 / 0.9048 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.827e-05/0.01554, allocations: 0 / 0.9048 GB, free: 10.34 MB / 0.8698 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.001817/0.01736, allocations: 2.083 MB / 0.9068 GB, free: 8.203 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.0174, allocations: 8.625 kB / 0.9068 GB, free: 8.195 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.01755, allocations: 179.7 kB / 0.907 GB, free: 8.02 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009658/0.01851, allocations: 1.137 MB / 0.9081 GB, free: 6.816 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.01852, allocations: 4.375 kB / 0.9081 GB, free: 6.812 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.01854, allocations: 12.38 kB / 0.9081 GB, free: 6.801 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.01867, allocations: 86.28 kB / 0.9082 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.01868, allocations: 3.984 kB / 0.9082 GB, free: 6.703 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.01868, allocations: 0 / 0.9082 GB, free: 6.703 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.01869, allocations: 7.938 kB / 0.9082 GB, free: 6.695 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.255e-05/0.01874, allocations: 39.89 kB / 0.9082 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.01979, allocations: 0.9227 MB / 0.9091 GB, free: 5.703 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.287e-05/0.01988, allocations: 55.03 kB / 0.9092 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.726e-05/0.0199, allocations: 15.69 kB / 0.9092 GB, free: 5.617 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.733e-05/0.01996, allocations: 36.05 kB / 0.9092 GB, free: 5.582 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.01998, allocations: 41.39 kB / 0.9093 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.01998, allocations: 0 / 0.9093 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9): time 0.0002677/0.02025, allocations: 260.4 kB / 0.9095 GB, free: 5.27 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.02027, allocations: 51.41 kB / 0.9096 GB, free: 5.207 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.02176, allocations: 2.064 MB / 0.9116 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.02177, allocations: 25.7 kB / 0.9116 GB, free: 3.07 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005461/0.02232, allocations: 0.9126 MB / 0.9125 GB, free: 2.148 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.02235, allocations: 31.73 kB / 0.9125 GB, free: 2.117 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.02247, allocations: 143.2 kB / 0.9127 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.02259, allocations: 0.5043 MB / 0.9132 GB, free: 1.457 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.551e-05/0.02267, allocations: 88.62 kB / 0.9132 GB, free: 1.371 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.02285, allocations: 355.8 kB / 0.9136 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.02306, allocations: 291 kB / 0.9139 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.02306, allocations: 4.062 kB / 0.9139 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0003992/0.02346, allocations: 0.5001 MB / 0.9144 GB, free: 148 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.02348, allocations: 4 kB / 0.9144 GB, free: 144 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.02349, allocations: 4 kB / 0.9144 GB, free: 140 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.0235, allocations: 4.094 kB / 0.9144 GB, free: 136 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.02362, allocations: 39.97 kB / 0.9144 GB, free: 96 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.02363, allocations: 4 kB / 0.9144 GB, free: 92 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.02389, allocations: 107.4 kB / 0.9145 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.02391, allocations: 16 kB / 0.9145 GB, free: 15.96 MB / 0.8855 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.0001473/0.02406, allocations: 172.6 kB / 0.9147 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.02417, allocations: 170.8 kB / 0.9149 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/0.02446, allocations: 246.6 kB / 0.9151 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.02446, allocations: 4 kB / 0.9151 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.02446, allocations: 0 / 0.9151 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.02447, allocations: 7.984 kB / 0.9151 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005642/0.02503, allocations: 0.6389 MB / 0.9157 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.02503, allocations: 0 / 0.9157 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.426e-05/0.0251, allocations: 31.92 kB / 0.9158 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.0251, allocations: 0 / 0.9158 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.02511, allocations: 4 kB / 0.9158 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.02511, allocations: 4 kB / 0.9158 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.02511, allocations: 3.984 kB / 0.9158 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.02549, allocations: 419.9 kB / 0.9162 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.02564, allocations: 186.6 kB / 0.9163 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.163e-05/0.0257, allocations: 3.984 kB / 0.9164 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.02586, allocations: 23.97 kB / 0.9164 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.02589, allocations: 11.98 kB / 0.9164 GB, free: 14 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.0259, allocations: 4 kB / 0.9164 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007257/0.02663, allocations: 1.059 MB / 0.9174 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.7e-07/0.02663, allocations: 0 / 0.9174 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003993/0.02703, allocations: 211.9 kB / 0.9176 GB, free: 12.71 MB / 0.8855 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.0002187/0.02724, allocations: 175.1 kB / 0.9178 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002144/0.02746, allocations: 185.4 kB / 0.918 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.02746, allocations: 7.938 kB / 0.918 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.673e-05/0.0275, allocations: 35.66 kB / 0.918 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/0.02959, allocations: 1.209 MB / 0.9192 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.03143, allocations: 2.083 MB / 0.9212 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.03169, allocations: 383.8 kB / 0.9216 GB, free: 8.559 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005185/0.03221, allocations: 217.6 kB / 0.9218 GB, free: 8.34 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001272/0.03348, allocations: 0.8685 MB / 0.9226 GB, free: 7.469 MB / 0.8855 GB Notification: Performance of SimCode: time 1.012e-06/0.03348, allocations: 0 / 0.9226 GB, free: 7.469 MB / 0.8855 GB Notification: Performance of Templates: time 0.04089/0.07437, allocations: 41.14 MB / 0.9628 GB, free: 15.54 MB / 0.9323 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ThermalWheels_BaseClasses_Validation_VariableSpeedThermalWheels.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.473592723719776]