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.001383/0.001383, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001545/0.001545, allocations: 173 kB / 23.36 MB, free: 1.133 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.9554/0.9554, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.454/2.454, allocations: 438.8 MB / 0.6826 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.663e-06/1.663e-06, allocations: 0 / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.746e-05, allocations: 8.641 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001467/0.001485, allocations: 1.041 MB / 0.8397 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009444/0.002429, allocations: 1.022 MB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/0.002487, allocations: 4 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.829e-05/0.002525, allocations: 19.73 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.002647, allocations: 43.59 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.002799, allocations: 71.78 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.002989, allocations: 231.3 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.003094, allocations: 59.16 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.003218, allocations: 123.8 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.654e-05/0.003314, allocations: 87.7 kB / 0.8413 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.003345, allocations: 20 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.95e-05/0.003364, allocations: 20 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.513e-05/0.003399, allocations: 51.81 kB / 0.8414 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.003445, allocations: 59.83 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.00359, allocations: 147.4 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.003593, allocations: 0 / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003593, allocations: 0 / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.003597, allocations: 0 / 0.8416 GB, free: 11.12 MB / 0.8073 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.0005114/0.004108, allocations: 439.8 kB / 0.842 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.004146, allocations: 8.625 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.919e-05/0.004205, allocations: 28.91 kB / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.004365, allocations: 154.2 kB / 0.8422 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.004376, allocations: 8.375 kB / 0.8422 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.004406, allocations: 20.38 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.00466, allocations: 166.8 kB / 0.8424 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.004667, allocations: 192 / 0.8424 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.00468, allocations: 12.31 kB / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.004686, allocations: 384 / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.349e-05/0.004749, allocations: 39.91 kB / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.00508, allocations: 279.8 kB / 0.8427 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.005198, allocations: 82.55 kB / 0.8427 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.247e-05/0.00525, allocations: 44.84 kB / 0.8428 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.00527, allocations: 8.297 kB / 0.8428 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.005291, allocations: 38.5 kB / 0.8428 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=17): time 1.032e-06/0.005292, allocations: 0 / 0.8428 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17): time 0.0001929/0.005485, allocations: 105.5 kB / 0.8429 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.005514, allocations: 55.41 kB / 0.843 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.516e-05/0.005599, allocations: 175.6 kB / 0.8432 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.005615, allocations: 33.7 kB / 0.8432 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.005658, allocations: 112.2 kB / 0.8433 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.005699, allocations: 63.45 kB / 0.8434 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.00574, allocations: 37.7 kB / 0.8434 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.825e-05/0.005809, allocations: 334.7 kB / 0.8437 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.355e-05/0.005842, allocations: 16 kB / 0.8437 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.193e-05/0.005904, allocations: 99.77 kB / 0.8438 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.059e-05/0.005975, allocations: 63.2 kB / 0.8439 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.005977, allocations: 0 / 0.8439 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001048/0.006082, allocations: 89.64 kB / 0.844 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.006091, allocations: 4 kB / 0.844 GB, free: 8.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.006095, allocations: 0 / 0.844 GB, free: 8.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.006107, allocations: 4 kB / 0.844 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.006247, allocations: 59.92 kB / 0.844 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.006252, allocations: 11.92 kB / 0.844 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.358e-05/0.006325, allocations: 27.92 kB / 0.8441 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.006334, allocations: 8 kB / 0.8441 GB, free: 8.371 MB / 0.8073 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 6.398e-05/0.006398, allocations: 117.8 kB / 0.8442 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.006423, allocations: 11.98 kB / 0.8442 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.00645, allocations: 21.81 kB / 0.8442 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.006454, allocations: 3.984 kB / 0.8442 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.006456, allocations: 4 kB / 0.8442 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.006459, allocations: 0 / 0.8442 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.006583, allocations: 137.6 kB / 0.8444 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.006584, allocations: 0 / 0.8444 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.006703, allocations: 51.97 kB / 0.8444 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.006704, allocations: 0 / 0.8444 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.006716, allocations: 3.984 kB / 0.8444 GB, free: 8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.006717, allocations: 0 / 0.8444 GB, free: 8 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.006718, allocations: 0 / 0.8444 GB, free: 8 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.006909, allocations: 230.1 kB / 0.8446 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.368e-05/0.006923, allocations: 15.91 kB / 0.8447 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.006942, allocations: 4 kB / 0.8447 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.172e-05/0.007024, allocations: 23.97 kB / 0.8447 GB, free: 7.719 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.007081, allocations: 31.95 kB / 0.8447 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.007087, allocations: 4 kB / 0.8447 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.014e-05/0.007117, allocations: 42 kB / 0.8448 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007117, allocations: 0 / 0.8448 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001356/0.007253, allocations: 43.89 kB / 0.8448 GB, free: 7.598 MB / 0.8073 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 7.647e-05/0.007329, allocations: 88.44 kB / 0.8449 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.007448, allocations: 68.67 kB / 0.8449 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.007451, allocations: 0 / 0.8449 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.433e-05/0.007505, allocations: 44.78 kB / 0.845 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.007677, allocations: 47.91 kB / 0.845 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.008062, allocations: 343.6 kB / 0.8454 GB, free: 6.973 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.499e-05/0.008097, allocations: 71.83 kB / 0.8454 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.853e-05/0.008145, allocations: 17.14 kB / 0.8454 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.848e-05/0.008244, allocations: 83.36 kB / 0.8455 GB, free: 6.785 MB / 0.8073 GB Notification: Performance of SimCode: time 3.81e-07/0.008244, allocations: 0 / 0.8455 GB, free: 6.785 MB / 0.8073 GB Notification: Performance of Templates: time 0.003755/0.012, allocations: 2.675 MB / 0.8481 GB, free: 4.172 MB / 0.8073 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.333301184233278]