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.001499/0.001499, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001717/0.001717, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9462/0.9462, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.022/2.022, allocations: 429.5 MB / 0.6743 GB, free: 3.93 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.403e-06/1.403e-06, allocations: 0 / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.59e-05/1.73e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.002763/0.00278, allocations: 2.807 MB / 0.8822 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00202/0.0048, allocations: 1.813 MB / 0.8839 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.004912, allocations: 4 kB / 0.8839 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.00616, allocations: 0.7159 MB / 0.8846 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.006392, allocations: 226.3 kB / 0.8848 GB, free: 484 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.006556, allocations: 127.8 kB / 0.885 GB, free: 356 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.005631/0.01219, allocations: 6.642 MB / 0.8915 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.01229, allocations: 29.27 kB / 0.8915 GB, free: 9.664 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.01252, allocations: 263.3 kB / 0.8917 GB, free: 9.406 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.01268, allocations: 207.2 kB / 0.8919 GB, free: 9.203 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.004e-05/0.01272, allocations: 28 kB / 0.892 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003315/0.01306, allocations: 267.6 kB / 0.8922 GB, free: 8.914 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003533/0.01341, allocations: 0.6703 MB / 0.8929 GB, free: 8.242 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002671/0.01368, allocations: 390.9 kB / 0.8932 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0008531/0.01453, allocations: 1.214 MB / 0.8944 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.01453, allocations: 0 / 0.8944 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.62e-07/0.01453, allocations: 0 / 0.8944 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.01455, allocations: 0 / 0.8944 GB, free: 6.641 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.001626/0.01617, allocations: 2.079 MB / 0.8965 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.0162, allocations: 12.02 kB / 0.8965 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.01634, allocations: 179.7 kB / 0.8966 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009836/0.01732, allocations: 1.129 MB / 0.8977 GB, free: 3.133 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.01733, allocations: 4.375 kB / 0.8977 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.01735, allocations: 16.38 kB / 0.8978 GB, free: 3.113 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.01747, allocations: 82.23 kB / 0.8978 GB, free: 3.023 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.01748, allocations: 0 / 0.8978 GB, free: 3.023 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.01749, allocations: 0 / 0.8978 GB, free: 3.023 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.01749, allocations: 4 kB / 0.8978 GB, free: 3.02 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.831e-05/0.01755, allocations: 35.95 kB / 0.8979 GB, free: 2.984 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008973/0.01845, allocations: 0.9343 MB / 0.8988 GB, free: 2.02 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.732e-05/0.01853, allocations: 51.05 kB / 0.8988 GB, free: 1.957 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.167e-05/0.01857, allocations: 19.67 kB / 0.8989 GB, free: 1.934 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.791e-05/0.01861, allocations: 35.97 kB / 0.8989 GB, free: 1.898 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.01864, allocations: 41.38 kB / 0.8989 GB, free: 1.848 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.01864, allocations: 0 / 0.8989 GB, free: 1.848 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0002728/0.01891, allocations: 252.6 kB / 0.8992 GB, free: 1.594 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.01894, allocations: 59.34 kB / 0.8992 GB, free: 1.523 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.02042, allocations: 2.06 MB / 0.9012 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.02044, allocations: 29.69 kB / 0.9013 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005695/0.02101, allocations: 0.9088 MB / 0.9022 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.02104, allocations: 35.72 kB / 0.9022 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.02115, allocations: 143.2 kB / 0.9023 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.02127, allocations: 0.5082 MB / 0.9028 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.682e-05/0.02136, allocations: 88.62 kB / 0.9029 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.02155, allocations: 351.8 kB / 0.9032 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.02177, allocations: 283 kB / 0.9035 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.02177, allocations: 0 / 0.9035 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0005009/0.02227, allocations: 0.504 MB / 0.904 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.02228, allocations: 4 kB / 0.904 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.02229, allocations: 8.094 kB / 0.904 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.926e-06/0.0223, allocations: 112 / 0.904 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.02243, allocations: 43.84 kB / 0.9041 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.115e-06/0.02243, allocations: 0 / 0.9041 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.02269, allocations: 111.3 kB / 0.9042 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.02271, allocations: 24.05 kB / 0.9042 GB, free: 12.29 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.0001468/0.02286, allocations: 172.4 kB / 0.9044 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.02296, allocations: 170.8 kB / 0.9045 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.02324, allocations: 242.7 kB / 0.9047 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.02324, allocations: 3.984 kB / 0.9048 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.02324, allocations: 4 kB / 0.9048 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.02325, allocations: 0 / 0.9048 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005702/0.02382, allocations: 0.6467 MB / 0.9054 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.02382, allocations: 0 / 0.9054 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.697e-05/0.02389, allocations: 31.86 kB / 0.9054 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.02389, allocations: 0 / 0.9054 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.0239, allocations: 8 kB / 0.9054 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.0239, allocations: 4 kB / 0.9054 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.0239, allocations: 0 / 0.9054 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.02414, allocations: 408.3 kB / 0.9058 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/0.0243, allocations: 194.6 kB / 0.906 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.448e-05/0.02437, allocations: 0 / 0.906 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.02455, allocations: 23.92 kB / 0.906 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.02458, allocations: 11.97 kB / 0.906 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.02459, allocations: 8 kB / 0.906 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007581/0.02535, allocations: 1.059 MB / 0.9071 GB, free: 9.23 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.02535, allocations: 0 / 0.9071 GB, free: 9.23 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003984/0.02575, allocations: 215.9 kB / 0.9073 GB, free: 9.02 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.0002237/0.02597, allocations: 167.1 kB / 0.9074 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.02619, allocations: 197.3 kB / 0.9076 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.02619, allocations: 0 / 0.9076 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.128e-05/0.02623, allocations: 39.61 kB / 0.9077 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/0.02841, allocations: 1.213 MB / 0.9089 GB, free: 7.402 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.03028, allocations: 2.083 MB / 0.9109 GB, free: 5.27 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.03055, allocations: 379.8 kB / 0.9113 GB, free: 4.875 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004543/0.031, allocations: 217.5 kB / 0.9115 GB, free: 4.656 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00129/0.03229, allocations: 0.8685 MB / 0.9123 GB, free: 3.785 MB / 0.8698 GB Notification: Performance of SimCode: time 1.392e-06/0.03229, allocations: 4 kB / 0.9123 GB, free: 3.781 MB / 0.8698 GB Notification: Performance of Templates: time 0.04566/0.07795, allocations: 41.6 MB / 0.9529 GB, free: 11.14 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.6080663269385695]