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.001268/0.001268, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001457/0.001457, allocations: 173 kB / 23.49 MB, free: 1.059 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.9731/0.9731, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.036/2.036, allocations: 429.5 MB / 0.6736 GB, free: 4.059 MB / 0.6355 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.503e-06/1.503e-06, allocations: 0 / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.292e-05/1.443e-05, allocations: 5.578 kB / 0.8782 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.002683/0.002697, allocations: 2.836 MB / 0.881 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.00453, allocations: 1.821 MB / 0.8828 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.00463, allocations: 7.938 kB / 0.8828 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.005779, allocations: 0.7114 MB / 0.8835 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.00599, allocations: 223.6 kB / 0.8837 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.006138, allocations: 131.6 kB / 0.8838 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.00567/0.01181, allocations: 6.688 MB / 0.8903 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.551e-05/0.0119, allocations: 25.28 kB / 0.8904 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.01209, allocations: 267.3 kB / 0.8906 GB, free: 9.926 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.01225, allocations: 203.4 kB / 0.8908 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.74e-05/0.01229, allocations: 31.94 kB / 0.8908 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002973/0.01259, allocations: 271.5 kB / 0.8911 GB, free: 9.43 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003513/0.01294, allocations: 0.6703 MB / 0.8917 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002635/0.0132, allocations: 394.8 kB / 0.8921 GB, free: 8.371 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0008341/0.01403, allocations: 1.198 MB / 0.8933 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.01404, allocations: 0 / 0.8933 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.71e-07/0.01404, allocations: 4 kB / 0.8933 GB, free: 7.164 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.01405, allocations: 0 / 0.8933 GB, free: 7.164 MB / 0.8542 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.001563/0.01561, allocations: 2.075 MB / 0.8953 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.01564, allocations: 12.03 kB / 0.8953 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.01579, allocations: 175.7 kB / 0.8955 GB, free: 4.855 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.01686, allocations: 1.223 MB / 0.8967 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.01688, allocations: 8.375 kB / 0.8967 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.0169, allocations: 8.375 kB / 0.8967 GB, free: 3.555 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.01705, allocations: 86.28 kB / 0.8968 GB, free: 3.461 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.01705, allocations: 0 / 0.8968 GB, free: 3.461 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.01706, allocations: 4 kB / 0.8968 GB, free: 3.457 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.01707, allocations: 0 / 0.8968 GB, free: 3.457 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.686e-05/0.01715, allocations: 51.77 kB / 0.8969 GB, free: 3.406 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.01834, allocations: 1.314 MB / 0.8981 GB, free: 2.051 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.01844, allocations: 62.97 kB / 0.8982 GB, free: 1.977 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.314e-05/0.01849, allocations: 27.69 kB / 0.8982 GB, free: 1.945 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.165e-05/0.01853, allocations: 27.97 kB / 0.8982 GB, free: 1.918 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.01855, allocations: 37.38 kB / 0.8983 GB, free: 1.871 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.01855, allocations: 0 / 0.8983 GB, free: 1.871 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0003084/0.01886, allocations: 260.6 kB / 0.8985 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.01889, allocations: 55.41 kB / 0.8986 GB, free: 1.543 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.02063, allocations: 2.143 MB / 0.9007 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.02064, allocations: 29.7 kB / 0.9007 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005631/0.02121, allocations: 0.8935 MB / 0.9016 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.02123, allocations: 31.73 kB / 0.9016 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.02135, allocations: 135.3 kB / 0.9017 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.02147, allocations: 0.5081 MB / 0.9022 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.0216, allocations: 132.6 kB / 0.9024 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.02182, allocations: 389.4 kB / 0.9027 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.02209, allocations: 335.2 kB / 0.9031 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.02209, allocations: 8 kB / 0.9031 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0004782/0.02257, allocations: 0.5704 MB / 0.9036 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.02258, allocations: 8 kB / 0.9036 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.02259, allocations: 0 / 0.9036 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.0226, allocations: 4 kB / 0.9036 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.02272, allocations: 35.97 kB / 0.9037 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.02273, allocations: 7.938 kB / 0.9037 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.02298, allocations: 103.3 kB / 0.9038 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.023, allocations: 20 kB / 0.9038 GB, free: 12.06 MB / 0.8698 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.0001406/0.02314, allocations: 176.5 kB / 0.904 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.02324, allocations: 170.8 kB / 0.9041 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.02353, allocations: 258.8 kB / 0.9044 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.02353, allocations: 0 / 0.9044 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.02353, allocations: 0 / 0.9044 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.02354, allocations: 3.984 kB / 0.9044 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007777/0.02432, allocations: 0.9798 MB / 0.9053 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.02432, allocations: 0 / 0.9053 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-05/0.02438, allocations: 27.98 kB / 0.9054 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.02438, allocations: 0 / 0.9054 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.02439, allocations: 4 kB / 0.9054 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.02439, allocations: 0 / 0.9054 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.02439, allocations: 0 / 0.9054 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.02464, allocations: 424.1 kB / 0.9058 GB, free: 9.949 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.02481, allocations: 198.7 kB / 0.906 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.807e-05/0.02489, allocations: 4 kB / 0.906 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.02505, allocations: 23.97 kB / 0.906 GB, free: 9.727 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.02509, allocations: 7.984 kB / 0.906 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.0251, allocations: 8 kB / 0.906 GB, free: 9.711 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001011/0.02611, allocations: 1.177 MB / 0.9071 GB, free: 8.516 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9e-08/0.02611, allocations: 0 / 0.9071 GB, free: 8.516 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003557/0.02647, allocations: 215.9 kB / 0.9073 GB, free: 8.305 MB / 0.8698 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.0002207/0.02669, allocations: 173.6 kB / 0.9075 GB, free: 8.129 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002664/0.02695, allocations: 233.3 kB / 0.9077 GB, free: 7.898 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.02695, allocations: 192 / 0.9077 GB, free: 7.898 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.833e-05/0.027, allocations: 39.67 kB / 0.9078 GB, free: 7.855 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/0.02918, allocations: 1.221 MB / 0.909 GB, free: 6.641 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.03093, allocations: 2.083 MB / 0.911 GB, free: 4.508 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.03119, allocations: 379.8 kB / 0.9114 GB, free: 4.113 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004114/0.0316, allocations: 221.7 kB / 0.9116 GB, free: 3.891 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.03173, allocations: 96.48 kB / 0.9117 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of SimCode: time 9.72e-07/0.03173, allocations: 0 / 0.9117 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of Templates: time 0.03625/0.06798, allocations: 37.75 MB / 0.9485 GB, free: 15 MB / 0.9167 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.745503212092444]