Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001229/0.001229, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001123/0.001123, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9606/0.9606, allocations: 177.1 MB / 203.7 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.305/2.305, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.8898 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.268e-05, allocations: 6.312 kB / 0.8898 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001602/0.001625, allocations: 1.048 MB / 0.8908 GB, free: 8.637 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.00272, allocations: 1.01 MB / 0.8918 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.72e-05/0.002788, allocations: 4 kB / 0.8918 GB, free: 7.609 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.907e-05/0.002827, allocations: 15.75 kB / 0.8919 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.002956, allocations: 47.58 kB / 0.8919 GB, free: 7.547 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.003162, allocations: 71.8 kB / 0.892 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.003371, allocations: 231.3 kB / 0.8922 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.003498, allocations: 45.22 kB / 0.8922 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.00365, allocations: 139.7 kB / 0.8924 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.00375, allocations: 83.75 kB / 0.8924 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.003779, allocations: 20 kB / 0.8925 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 2.101e-05/0.0038, allocations: 16 kB / 0.8925 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.168e-05/0.003832, allocations: 47.83 kB / 0.8925 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.225e-05/0.003874, allocations: 59.83 kB / 0.8926 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.004019, allocations: 159.4 kB / 0.8927 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.00402, allocations: 0 / 0.8927 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.32e-07/0.004021, allocations: 0 / 0.8927 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.004025, allocations: 0 / 0.8927 GB, free: 6.688 MB / 0.8542 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.0005504/0.004576, allocations: 0.5425 MB / 0.8933 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.004618, allocations: 8.625 kB / 0.8933 GB, free: 6.098 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.004661, allocations: 32.8 kB / 0.8933 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.004814, allocations: 173.1 kB / 0.8935 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.004827, allocations: 12.38 kB / 0.8935 GB, free: 5.859 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.004851, allocations: 12.38 kB / 0.8935 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.005118, allocations: 170.8 kB / 0.8937 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.005125, allocations: 192 / 0.8937 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.005138, allocations: 4.375 kB / 0.8937 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.005145, allocations: 4.375 kB / 0.8937 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.469e-05/0.00521, allocations: 39.84 kB / 0.8937 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.005626, allocations: 411.9 kB / 0.8941 GB, free: 5.195 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.005759, allocations: 99.02 kB / 0.8942 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.597e-05/0.005815, allocations: 47.61 kB / 0.8942 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.005842, allocations: 7.984 kB / 0.8942 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.005863, allocations: 37.39 kB / 0.8943 GB, free: 4.98 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.005864, allocations: 0 / 0.8943 GB, free: 4.98 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17): time 0.0002347/0.006099, allocations: 129.7 kB / 0.8944 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.006124, allocations: 55.41 kB / 0.8944 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.00623, allocations: 230.8 kB / 0.8947 GB, free: 4.539 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.006246, allocations: 25.7 kB / 0.8947 GB, free: 4.508 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.006314, allocations: 179.2 kB / 0.8949 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.006353, allocations: 59.53 kB / 0.8949 GB, free: 4.27 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.006401, allocations: 43.34 kB / 0.895 GB, free: 4.219 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.006521, allocations: 0.5 MB / 0.8955 GB, free: 3.707 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-05/0.006564, allocations: 19.92 kB / 0.8955 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.166e-05/0.006636, allocations: 104.1 kB / 0.8956 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.957e-05/0.006715, allocations: 61.55 kB / 0.8956 GB, free: 3.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.006717, allocations: 0 / 0.8956 GB, free: 3.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004287/0.007146, allocations: 109.5 kB / 0.8957 GB, free: 3.387 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.007159, allocations: 8 kB / 0.8957 GB, free: 3.379 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.007164, allocations: 0 / 0.8957 GB, free: 3.379 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.007177, allocations: 0 / 0.8957 GB, free: 3.379 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.007331, allocations: 63.92 kB / 0.8958 GB, free: 3.316 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.007334, allocations: 0 / 0.8958 GB, free: 3.316 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.084e-05/0.007415, allocations: 35.86 kB / 0.8958 GB, free: 3.281 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.007424, allocations: 4 kB / 0.8958 GB, free: 3.277 MB / 0.8542 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 7.2e-05/0.007496, allocations: 164.5 kB / 0.896 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.007526, allocations: 19.91 kB / 0.896 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.115e-05/0.007557, allocations: 25.8 kB / 0.896 GB, free: 3.062 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.007559, allocations: 4 kB / 0.896 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.007561, allocations: 0 / 0.896 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.007564, allocations: 0 / 0.896 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.007707, allocations: 169 kB / 0.8962 GB, free: 2.867 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.007709, allocations: 4 kB / 0.8962 GB, free: 2.863 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.007832, allocations: 51.89 kB / 0.8963 GB, free: 2.812 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.007834, allocations: 0 / 0.8963 GB, free: 2.812 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.007848, allocations: 8 kB / 0.8963 GB, free: 2.805 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.007849, allocations: 0 / 0.8963 GB, free: 2.805 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.00785, allocations: 4 kB / 0.8963 GB, free: 2.801 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.008099, allocations: 289.7 kB / 0.8965 GB, free: 2.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.612e-05/0.008115, allocations: 15.91 kB / 0.8966 GB, free: 2.484 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.008132, allocations: 3.984 kB / 0.8966 GB, free: 2.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.745e-05/0.00822, allocations: 31.97 kB / 0.8966 GB, free: 2.449 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.008272, allocations: 27.91 kB / 0.8966 GB, free: 2.422 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.00828, allocations: 7.984 kB / 0.8966 GB, free: 2.414 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.605e-05/0.008337, allocations: 156.3 kB / 0.8968 GB, free: 2.262 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.008337, allocations: 0 / 0.8968 GB, free: 2.262 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001632/0.0085, allocations: 47.92 kB / 0.8968 GB, free: 2.215 MB / 0.8542 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 9.417e-05/0.008594, allocations: 99.25 kB / 0.8969 GB, free: 2.105 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001375/0.008731, allocations: 76.88 kB / 0.897 GB, free: 2.027 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.008733, allocations: 3.938 kB / 0.897 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.886e-05/0.008791, allocations: 47.59 kB / 0.897 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.009034, allocations: 47.53 kB / 0.8971 GB, free: 1.93 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004465/0.009481, allocations: 346.9 kB / 0.8974 GB, free: 1.562 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.373e-05/0.009524, allocations: 75.83 kB / 0.8975 GB, free: 1.465 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.881e-05/0.009583, allocations: 9.156 kB / 0.8975 GB, free: 1.457 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.009696, allocations: 110.2 kB / 0.8976 GB, free: 1.348 MB / 0.8542 GB Notification: Performance of SimCode: time 8.22e-07/0.009697, allocations: 0 / 0.8976 GB, free: 1.348 MB / 0.8542 GB Notification: Performance of Templates: time 0.00457/0.01427, allocations: 3.198 MB / 0.9007 GB, free: 14.22 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.193565111141652]