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.001025/0.001025, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001102/0.001102, allocations: 171.5 kB / 24.87 MB, free: 9.258 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 1.012/1.012, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.976/1.976, allocations: 377.9 MB / 0.6247 GB, free: 8.418 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 2.575e-06/2.575e-06, allocations: 0 / 0.8129 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/3.003e-05, allocations: 6.25 kB / 0.8129 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002735/0.002765, allocations: 1.039 MB / 0.8139 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.004217, allocations: 1.013 MB / 0.8149 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.004326, allocations: 4 kB / 0.8149 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.985e-05/0.004386, allocations: 19.73 kB / 0.8149 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.004571, allocations: 40.47 kB / 0.8149 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.004836, allocations: 72.88 kB / 0.815 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.005142, allocations: 231.3 kB / 0.8152 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.005294, allocations: 49.67 kB / 0.8153 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.005494, allocations: 132.3 kB / 0.8154 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.005636, allocations: 87.75 kB / 0.8155 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.108e-05/0.005677, allocations: 21.25 kB / 0.8155 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.906e-05/0.005706, allocations: 16 kB / 0.8155 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.769e-05/0.005754, allocations: 47.83 kB / 0.8156 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.00582, allocations: 62.25 kB / 0.8156 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.006041, allocations: 155.4 kB / 0.8158 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.006045, allocations: 4 kB / 0.8158 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.11e-07/0.006045, allocations: 0 / 0.8158 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.006051, allocations: 0 / 0.8158 GB, free: 14.4 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.000757/0.006808, allocations: 0.5443 MB / 0.8163 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.006844, allocations: 8.031 kB / 0.8163 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.803e-05/0.006912, allocations: 32.8 kB / 0.8163 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.007116, allocations: 161.7 kB / 0.8165 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.007132, allocations: 12.38 kB / 0.8165 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.007167, allocations: 16.36 kB / 0.8165 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003806/0.007548, allocations: 170.6 kB / 0.8167 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.007556, allocations: 192 / 0.8167 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.007574, allocations: 4.375 kB / 0.8167 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.007582, allocations: 4.375 kB / 0.8167 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.007696, allocations: 41.05 kB / 0.8167 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005902/0.008286, allocations: 412.6 kB / 0.8171 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.008471, allocations: 98.27 kB / 0.8172 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.501e-05/0.008566, allocations: 55.44 kB / 0.8173 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.008593, allocations: 7.984 kB / 0.8173 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.008618, allocations: 42.52 kB / 0.8173 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.00862, allocations: 0 / 0.8173 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17): time 0.0003268/0.008947, allocations: 121.5 kB / 0.8174 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.00898, allocations: 52.94 kB / 0.8175 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.00913, allocations: 231.7 kB / 0.8177 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.009154, allocations: 33.64 kB / 0.8177 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.89e-05/0.009242, allocations: 175.2 kB / 0.8179 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.736e-05/0.0093, allocations: 63.98 kB / 0.818 GB, free: 12 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.1e-05/0.009371, allocations: 35.36 kB / 0.818 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.009535, allocations: 0.5097 MB / 0.8185 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.647e-05/0.009601, allocations: 19.89 kB / 0.8185 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.009712, allocations: 98.44 kB / 0.8186 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.009853, allocations: 58 kB / 0.8187 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.009855, allocations: 0 / 0.8187 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000238/0.01009, allocations: 112.2 kB / 0.8188 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.01011, allocations: 8 kB / 0.8188 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.01011, allocations: 0 / 0.8188 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.01012, allocations: 1.219 kB / 0.8188 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.01035, allocations: 51.95 kB / 0.8188 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.01036, allocations: 0.5312 kB / 0.8188 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.01049, allocations: 36.39 kB / 0.8189 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.01051, allocations: 4.906 kB / 0.8189 GB, free: 11.02 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 0.0001146/0.01062, allocations: 173.3 kB / 0.819 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.225e-05/0.01068, allocations: 23.91 kB / 0.8191 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.701e-05/0.01071, allocations: 19.09 kB / 0.8191 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01072, allocations: 4 kB / 0.8191 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.01072, allocations: 0 / 0.8191 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.01072, allocations: 3.984 kB / 0.8191 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.01089, allocations: 161.7 kB / 0.8192 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01089, allocations: 0 / 0.8192 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.01103, allocations: 56.77 kB / 0.8193 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01103, allocations: 1.562 kB / 0.8193 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.01105, allocations: 4 kB / 0.8193 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.01105, allocations: 8 kB / 0.8193 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.01105, allocations: 0 / 0.8193 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.01134, allocations: 287 kB / 0.8196 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.01136, allocations: 23.86 kB / 0.8196 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.01138, allocations: 7.328 kB / 0.8196 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.643e-05/0.01148, allocations: 27.97 kB / 0.8196 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.01154, allocations: 31.95 kB / 0.8197 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.01155, allocations: 0 / 0.8197 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.739e-05/0.01161, allocations: 167.1 kB / 0.8198 GB, free: 10 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01161, allocations: 0 / 0.8198 GB, free: 10 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001778/0.01179, allocations: 39.94 kB / 0.8199 GB, free: 9.965 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.0003868/0.01218, allocations: 104.3 kB / 0.82 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001538/0.01233, allocations: 71.5 kB / 0.82 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01233, allocations: 1.062 kB / 0.82 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.038e-05/0.0124, allocations: 49.16 kB / 0.8201 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.01265, allocations: 53.58 kB / 0.8201 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/0.01313, allocations: 350.1 kB / 0.8205 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.624e-05/0.01317, allocations: 75.83 kB / 0.8205 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.183e-05/0.01324, allocations: 13.17 kB / 0.8205 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.01336, allocations: 106.2 kB / 0.8206 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of SimCode: time 8.72e-07/0.01336, allocations: 0 / 0.8206 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of Templates: time 0.005278/0.01864, allocations: 3.252 MB / 0.8238 GB, free: 5.914 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.452512413728982]