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.001451/0.001451, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001707/0.001707, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.492/1.492, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 2.838/2.838, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] 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.375e-06/2.375e-06, allocations: 1.312 kB / 0.8109 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.481e-05/4.719e-05, allocations: 7.219 kB / 0.8109 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002544/0.002591, allocations: 1.035 MB / 0.8119 GB, free: 1 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001784/0.004375, allocations: 0.9846 MB / 0.8129 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.004527, allocations: 4.781 kB / 0.8129 GB, free: 0 / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.004643, allocations: 19.84 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.004901, allocations: 40.55 kB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.005236, allocations: 68.89 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004286/0.005664, allocations: 231.3 kB / 0.8132 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.005863, allocations: 49.98 kB / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003078/0.00617, allocations: 127.7 kB / 0.8134 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.006388, allocations: 89.44 kB / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.251e-05/0.006451, allocations: 23.94 kB / 0.8135 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.633e-05/0.006497, allocations: 16 kB / 0.8135 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.279e-05/0.00657, allocations: 51.83 kB / 0.8136 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.00668, allocations: 61.34 kB / 0.8136 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004343/0.007115, allocations: 227.2 kB / 0.8138 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.007119, allocations: 0 / 0.8138 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.463e-06/0.00712, allocations: 0 / 0.8138 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.007131, allocations: 0.5312 kB / 0.8138 GB, free: 15.02 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.001511/0.008642, allocations: 0.4926 MB / 0.8143 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 7.068e-05/0.008712, allocations: 12.03 kB / 0.8143 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.008845, allocations: 33.33 kB / 0.8144 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.009204, allocations: 167.7 kB / 0.8145 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.009233, allocations: 16.31 kB / 0.8145 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.448e-05/0.009287, allocations: 12.38 kB / 0.8145 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009007/0.01019, allocations: 241.6 kB / 0.8148 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.0102, allocations: 192 / 0.8148 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.01023, allocations: 9.75 kB / 0.8148 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.01025, allocations: 4.375 kB / 0.8148 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.01145, allocations: 294.4 kB / 0.8151 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009648/0.01241, allocations: 392.1 kB / 0.8154 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00081/0.01322, allocations: 238.2 kB / 0.8157 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006633/0.01389, allocations: 188.2 kB / 0.8158 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.01392, allocations: 0 / 0.8158 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.01396, allocations: 35.41 kB / 0.8159 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.01396, allocations: 0.5 kB / 0.8159 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17): time 0.002025/0.01598, allocations: 0.4978 MB / 0.8164 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.01604, allocations: 56.38 kB / 0.8164 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.01624, allocations: 176.4 kB / 0.8166 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.01627, allocations: 33.7 kB / 0.8166 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.01638, allocations: 125.5 kB / 0.8167 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.187e-05/0.01646, allocations: 63.44 kB / 0.8168 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.797e-05/0.01656, allocations: 29.7 kB / 0.8168 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002067/0.01677, allocations: 331.9 kB / 0.8171 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000628/0.01739, allocations: 151.5 kB / 0.8173 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006883/0.01808, allocations: 230.9 kB / 0.8175 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.0193, allocations: 298 kB / 0.8178 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.0193, allocations: 4.625 kB / 0.8178 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001358/0.02066, allocations: 375.7 kB / 0.8182 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.02068, allocations: 4 kB / 0.8182 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.02069, allocations: 0 / 0.8182 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.516e-05/0.02072, allocations: 4 kB / 0.8182 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004379/0.02116, allocations: 71.91 kB / 0.8182 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.02117, allocations: 0 / 0.8182 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.02149, allocations: 71.75 kB / 0.8183 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.02151, allocations: 4 kB / 0.8183 GB, free: 10.29 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.0001591/0.02167, allocations: 129.8 kB / 0.8184 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/0.02173, allocations: 15.91 kB / 0.8184 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.425e-05/0.02179, allocations: 25.8 kB / 0.8185 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.02179, allocations: 4 kB / 0.8185 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.0218, allocations: 0 / 0.8185 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.0218, allocations: 4 kB / 0.8185 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.0221, allocations: 189.1 kB / 0.8187 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.02211, allocations: 0 / 0.8187 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004288/0.02253, allocations: 75.91 kB / 0.8187 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.02254, allocations: 4 kB / 0.8187 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.02256, allocations: 0 / 0.8187 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.02256, allocations: 0 / 0.8187 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.02256, allocations: 4 kB / 0.8187 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.02469, allocations: 0.6414 MB / 0.8194 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.744e-05/0.02473, allocations: 19.83 kB / 0.8194 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.02476, allocations: 4 kB / 0.8194 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/0.0251, allocations: 51.92 kB / 0.8194 GB, free: 9.078 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.02521, allocations: 23.97 kB / 0.8195 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.02523, allocations: 4.062 kB / 0.8195 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001443/0.02537, allocations: 135.1 kB / 0.8196 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.02537, allocations: 0 / 0.8196 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003062/0.02568, allocations: 39.94 kB / 0.8196 GB, free: 8.879 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.0001795/0.02586, allocations: 107.1 kB / 0.8197 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001347/0.0272, allocations: 319.7 kB / 0.82 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.02721, allocations: 0 / 0.82 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006652/0.02787, allocations: 169.9 kB / 0.8202 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.02834, allocations: 49.84 kB / 0.8202 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009034/0.02925, allocations: 373.3 kB / 0.8206 GB, free: 7.848 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.02939, allocations: 124 kB / 0.8207 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001161/0.02951, allocations: 13.14 kB / 0.8207 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.404e-05/0.0296, allocations: 20.5 kB / 0.8208 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of SimCode: time 8.11e-07/0.0296, allocations: 0 / 0.8208 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of Templates: time 0.00749/0.03709, allocations: 2.93 MB / 0.8236 GB, free: 4.801 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.084724884014577]