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.001432/0.001432, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001581/0.001581, allocations: 165 kB / 23.82 MB, free: 0.75 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.9992/0.9992, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.974/1.974, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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.086e-06/3.086e-06, allocations: 0 / 0.8116 GB, free: 1.625 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.18e-05, allocations: 4.703 kB / 0.8116 GB, free: 1.621 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001828/0.00186, allocations: 1.068 MB / 0.8127 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.003021, allocations: 1.007 MB / 0.8136 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.691e-05/0.003088, allocations: 0.625 kB / 0.8136 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.947e-05/0.003138, allocations: 21.14 kB / 0.8137 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.003284, allocations: 43.59 kB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.003505, allocations: 76.52 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.003728, allocations: 228.2 kB / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.003879, allocations: 49.2 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.004039, allocations: 132.3 kB / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.004149, allocations: 87.75 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.004182, allocations: 16.75 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.251e-05/0.004204, allocations: 20 kB / 0.8143 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.55e-05/0.00424, allocations: 40.66 kB / 0.8143 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.604e-05/0.004296, allocations: 67.81 kB / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.004468, allocations: 152.6 kB / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.00447, allocations: 0 / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.132e-06/0.004472, allocations: 0 / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.004476, allocations: 2 kB / 0.8145 GB, free: 14.64 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.000661/0.005137, allocations: 0.5386 MB / 0.8151 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.00518, allocations: 13 kB / 0.8151 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.74e-05/0.005247, allocations: 32.8 kB / 0.8151 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.005431, allocations: 168.8 kB / 0.8153 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.005449, allocations: 18.02 kB / 0.8153 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.605e-05/0.005485, allocations: 16.36 kB / 0.8153 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.005809, allocations: 173.4 kB / 0.8155 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.005818, allocations: 192 / 0.8155 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.005833, allocations: 4.375 kB / 0.8155 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.005842, allocations: 5.344 kB / 0.8155 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.005956, allocations: 47.91 kB / 0.8155 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000551/0.006507, allocations: 440.2 kB / 0.8159 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.006683, allocations: 104.7 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.705e-05/0.00678, allocations: 63.89 kB / 0.8161 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.006812, allocations: 4 kB / 0.8161 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.006834, allocations: 37.3 kB / 0.8161 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.006836, allocations: 0.5938 kB / 0.8161 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17): time 0.0003106/0.007146, allocations: 144.8 kB / 0.8163 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.007174, allocations: 51.41 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.007296, allocations: 228.5 kB / 0.8165 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.007314, allocations: 33.7 kB / 0.8166 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.033e-05/0.007384, allocations: 176.2 kB / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.007427, allocations: 59.48 kB / 0.8168 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.007481, allocations: 39.91 kB / 0.8168 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.007599, allocations: 0.5 MB / 0.8173 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.468e-05/0.007663, allocations: 29.27 kB / 0.8174 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.007784, allocations: 106.4 kB / 0.8175 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.007895, allocations: 65.08 kB / 0.8175 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.007897, allocations: 5.125 kB / 0.8175 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001764/0.008074, allocations: 118.1 kB / 0.8176 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.008089, allocations: 9.875 kB / 0.8176 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.008094, allocations: 0.5312 kB / 0.8176 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.008111, allocations: 0 / 0.8176 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.008287, allocations: 56.8 kB / 0.8177 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.008293, allocations: 0.8125 kB / 0.8177 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.915e-05/0.008382, allocations: 44.67 kB / 0.8177 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.008394, allocations: 4 kB / 0.8177 GB, free: 11.13 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 8.55e-05/0.008479, allocations: 161.9 kB / 0.8179 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.008513, allocations: 23.91 kB / 0.8179 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.008551, allocations: 26.52 kB / 0.8179 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.008553, allocations: 0 / 0.8179 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.008558, allocations: 1.938 kB / 0.818 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.008561, allocations: 4 kB / 0.818 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.008743, allocations: 192.4 kB / 0.8181 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.008744, allocations: 0 / 0.8181 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.008891, allocations: 52.7 kB / 0.8182 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.008894, allocations: 4 kB / 0.8182 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.008912, allocations: 7.438 kB / 0.8182 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.008914, allocations: 0 / 0.8182 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.008915, allocations: 0 / 0.8182 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003185/0.009233, allocations: 303.7 kB / 0.8185 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.918e-05/0.009253, allocations: 15.86 kB / 0.8185 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.009271, allocations: 0 / 0.8185 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.972e-05/0.00937, allocations: 31.97 kB / 0.8185 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.848e-05/0.009439, allocations: 27.95 kB / 0.8186 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.009448, allocations: 4.625 kB / 0.8186 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.088e-05/0.009519, allocations: 167.1 kB / 0.8187 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009519, allocations: 4.438 kB / 0.8187 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000187/0.009706, allocations: 41.56 kB / 0.8188 GB, free: 10.04 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.0001211/0.009827, allocations: 99.19 kB / 0.8189 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.01003, allocations: 86.14 kB / 0.8189 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01004, allocations: 0 / 0.8189 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.528e-05/0.01012, allocations: 56.95 kB / 0.819 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.01039, allocations: 46.41 kB / 0.819 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005243/0.01092, allocations: 354.3 kB / 0.8194 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.609e-05/0.01096, allocations: 75.83 kB / 0.8195 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.508e-05/0.01102, allocations: 15.2 kB / 0.8195 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.55e-05/0.01108, allocations: 21.53 kB / 0.8195 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of SimCode: time 9.32e-07/0.01109, allocations: 0 / 0.8195 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of Templates: time 0.004593/0.01568, allocations: 2.944 MB / 0.8224 GB, free: 6.371 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.434592861216515]