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.001372/0.001372, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001679/0.001679, allocations: 159.5 kB / 23.01 MB, free: 4.602 MB / 14.72 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.509/1.509, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.843/2.843, allocations: 377.9 MB / 0.6228 GB, free: 12.55 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 64.17 kB / 0.982 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9279/0.9302, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002097/0.9323, allocations: 1.027 MB / 1.155 GB, free: 32.67 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.000988/0.9333, allocations: 0.9822 MB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.105e-05/0.9334, allocations: 2.844 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 5.175e-05/0.9334, allocations: 18.94 kB / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.9336, allocations: 39.77 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.9337, allocations: 75.45 kB / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.9339, allocations: 225.4 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.9341, allocations: 60.11 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.636e-05/0.9342, allocations: 94.62 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.9343, allocations: 100.4 kB / 1.157 GB, free: 31.62 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.527e-05/0.9343, allocations: 18.88 kB / 1.157 GB, free: 31.62 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 2.996e-05/0.9344, allocations: 19.22 kB / 1.157 GB, free: 31.62 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.685e-05/0.9344, allocations: 41.17 kB / 1.157 GB, free: 31.59 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.9345, allocations: 75.2 kB / 1.157 GB, free: 31.55 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.9347, allocations: 228.6 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.9347, allocations: 0 / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9347, allocations: 0 / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.9347, allocations: 0 / 1.157 GB, free: 31.45 MB / 1.076 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.001031/0.9357, allocations: 0.4974 MB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.9357, allocations: 8.438 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.9358, allocations: 23.95 kB / 1.157 GB, free: 31.08 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.936, allocations: 168.3 kB / 1.158 GB, free: 30.92 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.936, allocations: 10.12 kB / 1.158 GB, free: 30.91 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.936, allocations: 15.72 kB / 1.158 GB, free: 30.91 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007181/0.9367, allocations: 243.4 kB / 1.158 GB, free: 30.83 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.9368, allocations: 192 / 1.158 GB, free: 30.83 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.9368, allocations: 7.938 kB / 1.158 GB, free: 30.82 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.9368, allocations: 3.188 kB / 1.158 GB, free: 30.82 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.9379, allocations: 296.8 kB / 1.158 GB, free: 30.77 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005865/0.9385, allocations: 386 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007369/0.9392, allocations: 234.1 kB / 1.159 GB, free: 30.41 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000589/0.9398, allocations: 185.5 kB / 1.159 GB, free: 30.37 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.9398, allocations: 2.656 kB / 1.159 GB, free: 30.37 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.9398, allocations: 36.31 kB / 1.159 GB, free: 30.33 MB / 1.076 GB Notification: Performance of pre-optimization done (n=17): time 1.263e-06/0.9398, allocations: 0 / 1.159 GB, free: 30.33 MB / 1.076 GB Notification: Performance of matching and sorting (n=17): time 0.001843/0.9417, allocations: 0.4998 MB / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.9417, allocations: 58.25 kB / 1.159 GB, free: 30.14 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.9418, allocations: 177.5 kB / 1.16 GB, free: 30.02 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.9418, allocations: 29.7 kB / 1.16 GB, free: 29.98 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.625e-05/0.9419, allocations: 127.6 kB / 1.16 GB, free: 29.87 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.9419, allocations: 56.58 kB / 1.16 GB, free: 29.82 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.306e-05/0.942, allocations: 36.89 kB / 1.16 GB, free: 29.79 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.699e-05/0.9421, allocations: 328.3 kB / 1.16 GB, free: 29.47 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005618/0.9426, allocations: 150.3 kB / 1.16 GB, free: 29.45 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000586/0.9432, allocations: 227.6 kB / 1.161 GB, free: 29.33 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.9443, allocations: 305 kB / 1.161 GB, free: 29.27 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.9443, allocations: 0 / 1.161 GB, free: 29.27 MB / 1.076 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001179/0.9455, allocations: 359.8 kB / 1.161 GB, free: 29.18 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.9455, allocations: 8.25 kB / 1.161 GB, free: 29.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.9455, allocations: 3.938 kB / 1.161 GB, free: 29.17 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.9455, allocations: 11.02 kB / 1.161 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004063/0.9459, allocations: 76.41 kB / 1.161 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.9459, allocations: 3.938 kB / 1.161 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.9462, allocations: 64.75 kB / 1.161 GB, free: 29.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.9462, allocations: 9.812 kB / 1.161 GB, free: 29.14 MB / 1.076 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.107e-05/0.9463, allocations: 123.9 kB / 1.161 GB, free: 29.02 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.9464, allocations: 16.59 kB / 1.161 GB, free: 29.01 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.294e-05/0.9464, allocations: 20.69 kB / 1.161 GB, free: 28.99 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.9464, allocations: 6.688 kB / 1.161 GB, free: 28.98 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.9464, allocations: 0 / 1.161 GB, free: 28.98 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.9464, allocations: 3.609 kB / 1.161 GB, free: 28.98 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.9466, allocations: 183 kB / 1.162 GB, free: 28.82 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.9466, allocations: 3.375 kB / 1.162 GB, free: 28.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003928/0.947, allocations: 78.97 kB / 1.162 GB, free: 28.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.947, allocations: 0 / 1.162 GB, free: 28.82 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.9471, allocations: 6.875 kB / 1.162 GB, free: 28.81 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.9471, allocations: 0 / 1.162 GB, free: 28.81 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.9471, allocations: 7.875 kB / 1.162 GB, free: 28.8 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.9489, allocations: 0.6245 MB / 1.162 GB, free: 28.56 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.9489, allocations: 21.11 kB / 1.162 GB, free: 28.55 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.9489, allocations: 6.906 kB / 1.162 GB, free: 28.55 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.9492, allocations: 43.92 kB / 1.162 GB, free: 28.55 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.914e-05/0.9493, allocations: 33.81 kB / 1.162 GB, free: 28.53 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.9493, allocations: 5.719 kB / 1.162 GB, free: 28.53 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.181e-05/0.9494, allocations: 132.9 kB / 1.163 GB, free: 28.44 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9494, allocations: 3.938 kB / 1.163 GB, free: 28.43 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002697/0.9497, allocations: 49.64 kB / 1.163 GB, free: 28.42 MB / 1.076 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.0001189/0.9498, allocations: 98.5 kB / 1.163 GB, free: 28.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.951, allocations: 323.4 kB / 1.163 GB, free: 28.27 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.951, allocations: 0 / 1.163 GB, free: 28.27 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006007/0.9516, allocations: 168.2 kB / 1.163 GB, free: 28.24 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.9521, allocations: 45.48 kB / 1.163 GB, free: 28.22 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006372/0.9527, allocations: 364.5 kB / 1.164 GB, free: 27.98 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.634e-05/0.9528, allocations: 116.5 kB / 1.164 GB, free: 27.91 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.263e-05/0.9528, allocations: 9.312 kB / 1.164 GB, free: 27.91 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.942e-05/0.9529, allocations: 23.28 kB / 1.164 GB, free: 27.9 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.9529, allocations: 4 kB / 1.164 GB, free: 27.89 MB / 1.076 GB Notification: Performance of Templates: time 0.005723/0.9586, allocations: 2.913 MB / 1.167 GB, free: 27.59 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 9.218312388984486]