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.001024/0.001024, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001086/0.001086, allocations: 173 kB / 23.02 MB, free: 1.547 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.019/1.019, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.219/2.219, allocations: 429.5 MB / 0.6732 GB, free: 4.074 MB / 0.6355 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 3.196e-06/3.196e-06, allocations: 0 / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.325e-05, allocations: 6.312 kB / 0.8783 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002168/0.002202, allocations: 1.068 MB / 0.8793 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0045/0.006701, allocations: 1.008 MB / 0.8803 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.125e-05/0.006792, allocations: 5.125 kB / 0.8803 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.857e-05/0.006851, allocations: 19.73 kB / 0.8803 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.007034, allocations: 40.62 kB / 0.8803 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.0073, allocations: 72.84 kB / 0.8804 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002831/0.007583, allocations: 231.3 kB / 0.8806 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.007746, allocations: 41.23 kB / 0.8807 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.007943, allocations: 144.2 kB / 0.8808 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.008076, allocations: 80.48 kB / 0.8809 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.368e-05/0.00812, allocations: 27.38 kB / 0.8809 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.886e-05/0.008149, allocations: 20 kB / 0.8809 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.457e-05/0.008194, allocations: 47.81 kB / 0.881 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.517e-05/0.008259, allocations: 51.84 kB / 0.881 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.008474, allocations: 155.4 kB / 0.8812 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.008479, allocations: 0 / 0.8812 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.394e-06/0.008481, allocations: 0 / 0.8812 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.008489, allocations: 0 / 0.8812 GB, free: 3.289 MB / 0.8386 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.003844/0.01233, allocations: 0.548 MB / 0.8817 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.01238, allocations: 8.031 kB / 0.8817 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.208e-05/0.01246, allocations: 32.8 kB / 0.8818 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.01267, allocations: 169.7 kB / 0.8819 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.01269, allocations: 17.28 kB / 0.8819 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.01273, allocations: 12.38 kB / 0.8819 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004462/0.01318, allocations: 171.9 kB / 0.8821 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.01319, allocations: 1.719 kB / 0.8821 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.01321, allocations: 4.375 kB / 0.8821 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.01322, allocations: 4.375 kB / 0.8821 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.01339, allocations: 43.91 kB / 0.8822 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007282/0.01412, allocations: 441 kB / 0.8826 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.01436, allocations: 111 kB / 0.8827 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.01449, allocations: 62.47 kB / 0.8827 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003045/0.01754, allocations: 4 kB / 0.8827 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.01758, allocations: 33.39 kB / 0.8828 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 3.075e-06/0.01759, allocations: 0 / 0.8828 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0004568/0.01804, allocations: 139.7 kB / 0.8829 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.01809, allocations: 59.34 kB / 0.883 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.01825, allocations: 231.5 kB / 0.8832 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.01827, allocations: 33.64 kB / 0.8832 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.891e-05/0.01836, allocations: 175.2 kB / 0.8834 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.269e-05/0.01843, allocations: 59.48 kB / 0.8834 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.114e-05/0.01851, allocations: 43.36 kB / 0.8835 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002582/0.01877, allocations: 0.5 MB / 0.884 GB, free: 240 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.01888, allocations: 19.98 kB / 0.884 GB, free: 220 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.01902, allocations: 106.4 kB / 0.8841 GB, free: 88 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.01918, allocations: 65.62 kB / 0.8842 GB, free: 20 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.01918, allocations: 0 / 0.8842 GB, free: 20 kB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003195/0.0195, allocations: 127.3 kB / 0.8843 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.01953, allocations: 4 kB / 0.8843 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.01953, allocations: 0 / 0.8843 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.01955, allocations: 0 / 0.8843 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.01984, allocations: 55.98 kB / 0.8843 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.01984, allocations: 0 / 0.8843 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.02, allocations: 43.84 kB / 0.8844 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.02002, allocations: 4 kB / 0.8844 GB, free: 15.78 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 0.0001136/0.02013, allocations: 168.5 kB / 0.8845 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.284e-05/0.02018, allocations: 19.86 kB / 0.8846 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.181e-05/0.02023, allocations: 29.78 kB / 0.8846 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.02024, allocations: 8 kB / 0.8846 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.02025, allocations: 0 / 0.8846 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.02025, allocations: 0 / 0.8846 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/0.02053, allocations: 184.4 kB / 0.8848 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.02053, allocations: 0 / 0.8848 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.02078, allocations: 55.95 kB / 0.8848 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.02079, allocations: 0 / 0.8848 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.02081, allocations: 0 / 0.8848 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.02081, allocations: 0 / 0.8848 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.02082, allocations: 4 kB / 0.8848 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004836/0.0213, allocations: 314 kB / 0.8851 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.02134, allocations: 19.84 kB / 0.8851 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.02137, allocations: 4 kB / 0.8852 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.02156, allocations: 27.97 kB / 0.8852 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.812e-05/0.02166, allocations: 31.95 kB / 0.8852 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.02167, allocations: 0 / 0.8852 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001047/0.02177, allocations: 167.1 kB / 0.8854 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.02177, allocations: 0 / 0.8854 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002921/0.02206, allocations: 39.89 kB / 0.8854 GB, free: 14.67 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 0.0001524/0.02222, allocations: 115.1 kB / 0.8855 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003056/0.02252, allocations: 79.56 kB / 0.8856 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.02253, allocations: 0 / 0.8856 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.02266, allocations: 54.41 kB / 0.8856 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.02308, allocations: 47.91 kB / 0.8857 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007701/0.02385, allocations: 350.9 kB / 0.886 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.058e-05/0.02392, allocations: 71.83 kB / 0.8861 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001095/0.02402, allocations: 17.14 kB / 0.8861 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.248e-05/0.02412, allocations: 20.5 kB / 0.8861 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of SimCode: time 1.714e-06/0.02412, allocations: 0 / 0.8861 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of Templates: time 0.007655/0.03177, allocations: 3.152 MB / 0.8892 GB, free: 10.76 MB / 0.8542 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.8237041789107025]