Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.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.0009614/0.0009614, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009446/0.0009446, allocations: 169 kB / 24.28 MB, free: 276 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.9883/0.9883, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.923/1.923, allocations: 377.8 MB / 0.6239 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.256e-06/3.256e-06, allocations: 0 / 0.8116 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.767e-05/4.093e-05, allocations: 8.984 kB / 0.8116 GB, free: 2 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002063/0.002104, allocations: 1.055 MB / 0.8126 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.003328, allocations: 1.009 MB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.394e-05/0.003412, allocations: 0 / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.021e-05/0.003462, allocations: 15.75 kB / 0.8136 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.003618, allocations: 48.34 kB / 0.8137 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.003878, allocations: 68.69 kB / 0.8138 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.00417, allocations: 236.9 kB / 0.814 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.004326, allocations: 49.2 kB / 0.814 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.004496, allocations: 131.7 kB / 0.8142 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.004613, allocations: 83.75 kB / 0.8142 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.004654, allocations: 21.53 kB / 0.8143 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.344e-05/0.004677, allocations: 20 kB / 0.8143 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.727e-05/0.004715, allocations: 43.84 kB / 0.8143 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.639e-05/0.004771, allocations: 63.81 kB / 0.8144 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.004956, allocations: 149.1 kB / 0.8145 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.004962, allocations: 3.984 kB / 0.8145 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.563e-06/0.004963, allocations: 0 / 0.8145 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.004968, allocations: 0 / 0.8145 GB, free: 15.03 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006612/0.005629, allocations: 0.5397 MB / 0.8151 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.005671, allocations: 12.97 kB / 0.8151 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.217e-05/0.005743, allocations: 32.8 kB / 0.8151 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.005941, allocations: 169.8 kB / 0.8153 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.005955, allocations: 8.375 kB / 0.8153 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.005986, allocations: 16.38 kB / 0.8153 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.006305, allocations: 174.2 kB / 0.8154 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.006314, allocations: 192 / 0.8154 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.00633, allocations: 8.375 kB / 0.8155 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.006341, allocations: 4.906 kB / 0.8155 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.006465, allocations: 43.91 kB / 0.8155 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005411/0.007006, allocations: 446.1 kB / 0.8159 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.007189, allocations: 103 kB / 0.816 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.714e-05/0.007286, allocations: 59.91 kB / 0.8161 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.007313, allocations: 0 / 0.8161 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.00734, allocations: 49.91 kB / 0.8161 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=17): time 2.274e-06/0.007342, allocations: 0.7188 kB / 0.8161 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17): time 0.0003293/0.007672, allocations: 136.2 kB / 0.8163 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.007704, allocations: 52.06 kB / 0.8163 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.007842, allocations: 235.8 kB / 0.8165 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.007867, allocations: 26.23 kB / 0.8166 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.871e-05/0.007945, allocations: 176 kB / 0.8167 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.575e-05/0.007991, allocations: 55.5 kB / 0.8168 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.008048, allocations: 44.73 kB / 0.8168 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.008173, allocations: 0.5 MB / 0.8173 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.132e-05/0.008244, allocations: 27.83 kB / 0.8173 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.008349, allocations: 110.4 kB / 0.8174 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.008471, allocations: 61.89 kB / 0.8175 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.008473, allocations: 0 / 0.8175 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001911/0.008665, allocations: 123 kB / 0.8176 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.008682, allocations: 8 kB / 0.8176 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.008688, allocations: 0 / 0.8176 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.008704, allocations: 1.219 kB / 0.8176 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.008889, allocations: 52.89 kB / 0.8177 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.008895, allocations: 0 / 0.8177 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.82e-05/0.008994, allocations: 46.02 kB / 0.8177 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.009004, allocations: 0 / 0.8177 GB, free: 11.54 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (18): * Single equations (assignments): 18 * 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 prepare postOptimizeDAE: time 9.416e-05/0.009098, allocations: 168.5 kB / 0.8179 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.009134, allocations: 27.89 kB / 0.8179 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/0.00917, allocations: 21.81 kB / 0.8179 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.009173, allocations: 3.188 kB / 0.8179 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.009178, allocations: 0 / 0.8179 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.009183, allocations: 3.984 kB / 0.8179 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.009369, allocations: 200.4 kB / 0.8181 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.009371, allocations: 0 / 0.8181 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.009523, allocations: 47.91 kB / 0.8182 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.009527, allocations: 0 / 0.8182 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.00955, allocations: 13.14 kB / 0.8182 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.009552, allocations: 0 / 0.8182 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.009553, allocations: 0 / 0.8182 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003629/0.009916, allocations: 302.1 kB / 0.8185 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.021e-05/0.009937, allocations: 16.36 kB / 0.8185 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.009959, allocations: 4 kB / 0.8185 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.01007, allocations: 29.72 kB / 0.8185 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.01014, allocations: 27.95 kB / 0.8186 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.01015, allocations: 8 kB / 0.8186 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.171e-05/0.01022, allocations: 164.2 kB / 0.8187 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01022, allocations: 0 / 0.8187 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001894/0.01041, allocations: 39.94 kB / 0.8188 GB, free: 10.43 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (sleRatLim.y) * 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 (17): * Single equations (assignments): 17 * 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.0001163/0.01053, allocations: 108.7 kB / 0.8189 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.01074, allocations: 85.36 kB / 0.8189 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01074, allocations: 5.062 kB / 0.8189 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.588e-05/0.01083, allocations: 51.61 kB / 0.819 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.0111, allocations: 52.22 kB / 0.819 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005374/0.01164, allocations: 351.3 kB / 0.8194 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.979e-05/0.01169, allocations: 75.83 kB / 0.8194 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.024e-05/0.01176, allocations: 16.42 kB / 0.8195 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.153e-05/0.01182, allocations: 16.5 kB / 0.8195 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of SimCode: time 8.42e-07/0.01182, allocations: 0.9375 kB / 0.8195 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of Templates: time 0.004742/0.01657, allocations: 2.942 MB / 0.8224 GB, free: 6.758 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.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.379965995904058]