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.001495/0.001495, allocations: 93.06 kB / 19.65 MB, free: 284 kB / 13.93 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.001002/0.001002, allocations: 165 kB / 23.01 MB, free: 1.559 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.9544/0.9544, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.066/2.066, allocations: 429.5 MB / 0.6732 GB, free: 4.082 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.873e-06/1.873e-06, allocations: 0.6562 kB / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.777e-05, allocations: 4.703 kB / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.003776/0.003804, allocations: 2.862 MB / 0.881 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002271/0.006075, allocations: 1.831 MB / 0.8828 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.006204, allocations: 11.94 kB / 0.8828 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.007757, allocations: 0.7163 MB / 0.8835 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.008003, allocations: 218.4 kB / 0.8837 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.0082, allocations: 127.8 kB / 0.8838 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.005771/0.01397, allocations: 6.688 MB / 0.8903 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.01409, allocations: 29.27 kB / 0.8904 GB, free: 9.867 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/0.01431, allocations: 267.2 kB / 0.8906 GB, free: 9.605 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.01448, allocations: 203.3 kB / 0.8908 GB, free: 9.406 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.499e-05/0.01453, allocations: 28 kB / 0.8908 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003377/0.01487, allocations: 267.6 kB / 0.8911 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003752/0.01524, allocations: 0.6703 MB / 0.8918 GB, free: 8.445 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002857/0.01553, allocations: 398.8 kB / 0.8921 GB, free: 8.055 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0009629/0.01649, allocations: 1.198 MB / 0.8933 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.0165, allocations: 0 / 0.8933 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.192e-06/0.0165, allocations: 0 / 0.8933 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.01651, allocations: 4 kB / 0.8933 GB, free: 6.848 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.001912/0.01842, allocations: 2.079 MB / 0.8953 GB, free: 4.719 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.01847, allocations: 8.031 kB / 0.8953 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.01863, allocations: 179.7 kB / 0.8955 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.01974, allocations: 1.223 MB / 0.8967 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.01976, allocations: 8.312 kB / 0.8967 GB, free: 3.242 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.01978, allocations: 16.36 kB / 0.8967 GB, free: 3.227 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.01992, allocations: 78.3 kB / 0.8968 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.01993, allocations: 4 kB / 0.8968 GB, free: 3.137 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.01994, allocations: 4 kB / 0.8968 GB, free: 3.133 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.01995, allocations: 4 kB / 0.8968 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.547e-05/0.02003, allocations: 43.94 kB / 0.8969 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.02127, allocations: 1.303 MB / 0.8981 GB, free: 1.742 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.02138, allocations: 63.03 kB / 0.8982 GB, free: 1.668 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.441e-05/0.02143, allocations: 19.69 kB / 0.8982 GB, free: 1.645 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.793e-05/0.02149, allocations: 27.97 kB / 0.8982 GB, free: 1.617 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.02151, allocations: 41.39 kB / 0.8983 GB, free: 1.566 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 2.905e-06/0.02152, allocations: 4 kB / 0.8983 GB, free: 1.562 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0003401/0.02186, allocations: 260.6 kB / 0.8985 GB, free: 1.301 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.02188, allocations: 51.41 kB / 0.8986 GB, free: 1.238 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/0.02358, allocations: 2.147 MB / 0.9007 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.02359, allocations: 29.75 kB / 0.9007 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005707/0.02417, allocations: 0.8933 MB / 0.9016 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.02419, allocations: 27.75 kB / 0.9016 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.02431, allocations: 139.3 kB / 0.9017 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.02445, allocations: 0.5121 MB / 0.9022 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.02457, allocations: 132.6 kB / 0.9024 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.0248, allocations: 385.4 kB / 0.9027 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.02507, allocations: 339.1 kB / 0.9031 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.02507, allocations: 0 / 0.9031 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.000477/0.02555, allocations: 0.5744 MB / 0.9036 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.02556, allocations: 8 kB / 0.9036 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.02557, allocations: 0 / 0.9036 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.02559, allocations: 0 / 0.9036 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.02573, allocations: 43.91 kB / 0.9037 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.02573, allocations: 8.094 kB / 0.9037 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.02596, allocations: 103.3 kB / 0.9038 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.02599, allocations: 23.97 kB / 0.9038 GB, free: 11.74 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.0001389/0.02612, allocations: 172.4 kB / 0.904 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.905e-05/0.02622, allocations: 166.8 kB / 0.9041 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003162/0.02654, allocations: 258.7 kB / 0.9044 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.02654, allocations: 4 kB / 0.9044 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.02655, allocations: 0 / 0.9044 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.02655, allocations: 0 / 0.9044 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008005/0.02735, allocations: 0.9837 MB / 0.9053 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.02735, allocations: 4 kB / 0.9053 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.28e-05/0.02742, allocations: 27.92 kB / 0.9054 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.02742, allocations: 0 / 0.9054 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.02743, allocations: 0 / 0.9054 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.02743, allocations: 4 kB / 0.9054 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02743, allocations: 0 / 0.9054 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.0277, allocations: 424.3 kB / 0.9058 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.02788, allocations: 194.7 kB / 0.906 GB, free: 9.441 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-05/0.02795, allocations: 8 kB / 0.906 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.0281, allocations: 15.98 kB / 0.906 GB, free: 9.418 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.02815, allocations: 19.84 kB / 0.906 GB, free: 9.398 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.02816, allocations: 8 kB / 0.906 GB, free: 9.391 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001011/0.02917, allocations: 1.173 MB / 0.9072 GB, free: 8.199 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.02917, allocations: 0 / 0.9072 GB, free: 8.199 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003698/0.02954, allocations: 215.9 kB / 0.9074 GB, free: 7.988 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.0002347/0.02977, allocations: 171.1 kB / 0.9075 GB, free: 7.812 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002844/0.03006, allocations: 225.4 kB / 0.9077 GB, free: 7.59 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.03006, allocations: 0 / 0.9077 GB, free: 7.59 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.843e-05/0.03011, allocations: 43.61 kB / 0.9078 GB, free: 7.543 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/0.03216, allocations: 1.226 MB / 0.909 GB, free: 6.328 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.03396, allocations: 2.08 MB / 0.911 GB, free: 4.199 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.03422, allocations: 387.8 kB / 0.9114 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004066/0.03463, allocations: 213.7 kB / 0.9116 GB, free: 3.582 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.03476, allocations: 100.5 kB / 0.9117 GB, free: 3.484 MB / 0.8698 GB Notification: Performance of SimCode: time 9.02e-07/0.03476, allocations: 0 / 0.9117 GB, free: 3.484 MB / 0.8698 GB Notification: Performance of Templates: time 0.0371/0.07186, allocations: 37.74 MB / 0.9485 GB, free: 14.7 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: 6.112334113102406]