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.001018/0.001018, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001116/0.001116, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9752/0.9752, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.01/2.01, allocations: 429.5 MB / 0.6736 GB, free: 4.023 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 1.513e-06/1.513e-06, allocations: 0 / 0.8783 GB, free: 6.551 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.447e-05/1.598e-05, allocations: 2.312 kB / 0.8783 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001409/0.001425, allocations: 1.067 MB / 0.8793 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009535/0.002378, allocations: 1.004 MB / 0.8803 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.06e-05/0.002439, allocations: 4 kB / 0.8803 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.646e-05/0.002476, allocations: 17.34 kB / 0.8803 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.002594, allocations: 43.58 kB / 0.8803 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.002768, allocations: 77.94 kB / 0.8804 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000213/0.002981, allocations: 227.3 kB / 0.8806 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.003106, allocations: 49.2 kB / 0.8807 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.003233, allocations: 139.7 kB / 0.8808 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.003336, allocations: 83.75 kB / 0.8809 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.003369, allocations: 22.38 kB / 0.8809 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.239e-05/0.003392, allocations: 20 kB / 0.8809 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.441e-05/0.003426, allocations: 39.84 kB / 0.881 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.156e-05/0.003478, allocations: 59.81 kB / 0.881 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.003635, allocations: 155.4 kB / 0.8812 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003637, allocations: 0 / 0.8812 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003637, allocations: 0.7188 kB / 0.8812 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.003641, allocations: 0 / 0.8812 GB, free: 3.574 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.0005963/0.004237, allocations: 0.5441 MB / 0.8817 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.00427, allocations: 9.375 kB / 0.8817 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.004328, allocations: 32.8 kB / 0.8818 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.004499, allocations: 173.1 kB / 0.8819 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.004512, allocations: 12.38 kB / 0.8819 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.004541, allocations: 16.38 kB / 0.8819 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.004826, allocations: 170.8 kB / 0.8821 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.004833, allocations: 192 / 0.8821 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.004849, allocations: 4.375 kB / 0.8821 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.004859, allocations: 4.375 kB / 0.8821 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.004972, allocations: 51.84 kB / 0.8822 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.005427, allocations: 443.3 kB / 0.8826 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.005582, allocations: 99.03 kB / 0.8827 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.619e-05/0.005668, allocations: 59.59 kB / 0.8827 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.005693, allocations: 7.984 kB / 0.8827 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.005713, allocations: 41.39 kB / 0.8828 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.005715, allocations: 0 / 0.8828 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0002981/0.006013, allocations: 136.2 kB / 0.8829 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.006041, allocations: 59.34 kB / 0.883 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.006163, allocations: 235.5 kB / 0.8832 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.006179, allocations: 33.7 kB / 0.8832 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.006244, allocations: 171.2 kB / 0.8834 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.006285, allocations: 59.53 kB / 0.8835 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.006334, allocations: 39.36 kB / 0.8835 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.006452, allocations: 0.5 MB / 0.884 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.85e-05/0.00651, allocations: 19.98 kB / 0.884 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.465e-05/0.006605, allocations: 106.4 kB / 0.8841 GB, free: 376 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.006712, allocations: 73.7 kB / 0.8842 GB, free: 300 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006714, allocations: 0 / 0.8842 GB, free: 300 kB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001721/0.006887, allocations: 117.5 kB / 0.8843 GB, free: 176 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.006898, allocations: 8.031 kB / 0.8843 GB, free: 168 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.006903, allocations: 4 kB / 0.8843 GB, free: 164 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.006917, allocations: 4 kB / 0.8843 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.007075, allocations: 51.89 kB / 0.8843 GB, free: 108 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.00708, allocations: 0 / 0.8843 GB, free: 108 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.571e-05/0.007165, allocations: 39.84 kB / 0.8844 GB, free: 68 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.007175, allocations: 4 kB / 0.8844 GB, free: 64 kB / 0.8386 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.922e-05/0.007265, allocations: 172.6 kB / 0.8846 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.007293, allocations: 19.86 kB / 0.8846 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.007324, allocations: 21.81 kB / 0.8846 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.007327, allocations: 4 kB / 0.8846 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.007331, allocations: 0 / 0.8846 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.007336, allocations: 3.984 kB / 0.8846 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.007487, allocations: 188.4 kB / 0.8848 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.007488, allocations: 0 / 0.8848 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.007622, allocations: 51.91 kB / 0.8848 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.007623, allocations: 0 / 0.8848 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.00764, allocations: 11.98 kB / 0.8848 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.007643, allocations: 4 kB / 0.8848 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.007645, allocations: 0 / 0.8848 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.007941, allocations: 302 kB / 0.8851 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.446e-05/0.007955, allocations: 15.91 kB / 0.8851 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.007975, allocations: 4 kB / 0.8852 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.426e-05/0.008069, allocations: 31.91 kB / 0.8852 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/0.008133, allocations: 35.89 kB / 0.8852 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.008139, allocations: 0 / 0.8852 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.267e-05/0.008201, allocations: 171.2 kB / 0.8854 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.008201, allocations: 0 / 0.8854 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001674/0.008369, allocations: 43.89 kB / 0.8854 GB, free: 14.94 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 7.302e-05/0.008442, allocations: 99.19 kB / 0.8855 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000179/0.008621, allocations: 90.45 kB / 0.8856 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.008622, allocations: 0 / 0.8856 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.71e-05/0.008699, allocations: 47.61 kB / 0.8856 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.00894, allocations: 47.97 kB / 0.8857 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000463/0.009403, allocations: 350.9 kB / 0.886 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.481e-05/0.009448, allocations: 71.83 kB / 0.8861 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.392e-05/0.009502, allocations: 13.14 kB / 0.8861 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.605e-05/0.009558, allocations: 20.5 kB / 0.8861 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of SimCode: time 5.51e-07/0.009558, allocations: 4 kB / 0.8861 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of Templates: time 0.004101/0.01366, allocations: 2.937 MB / 0.889 GB, free: 11.27 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.4595896769315]