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.001143/0.001143, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001487/0.001487, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.009/1.009, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.036/2.036, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 0.7601 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.668e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002076/0.002103, allocations: 1.098 MB / 0.7612 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.00373, allocations: 1.017 MB / 0.7622 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.333e-05/0.003823, allocations: 4 kB / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.174e-05/0.003875, allocations: 20.27 kB / 0.7622 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.004052, allocations: 49.06 kB / 0.7623 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.004296, allocations: 75.77 kB / 0.7623 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.004577, allocations: 227.3 kB / 0.7626 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.004731, allocations: 51.16 kB / 0.7626 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.004909, allocations: 132.9 kB / 0.7627 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.005043, allocations: 83.77 kB / 0.7628 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.028e-05/0.005083, allocations: 23.94 kB / 0.7628 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 2.236e-05/0.005105, allocations: 18.06 kB / 0.7629 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.541e-05/0.005151, allocations: 51.81 kB / 0.7629 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.461e-05/0.005205, allocations: 59.83 kB / 0.763 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.005383, allocations: 147.4 kB / 0.7631 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.005387, allocations: 4 kB / 0.7631 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.343e-06/0.005388, allocations: 0.75 kB / 0.7631 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.005393, allocations: 0 / 0.7631 GB, free: 3.488 MB / 0.7136 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.0005717/0.005964, allocations: 430.4 kB / 0.7635 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.006002, allocations: 8.031 kB / 0.7635 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.006053, allocations: 24.92 kB / 0.7635 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.00623, allocations: 159.3 kB / 0.7637 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.006243, allocations: 8.375 kB / 0.7637 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.006269, allocations: 12.38 kB / 0.7637 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.006566, allocations: 168.9 kB / 0.7639 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.006574, allocations: 0.9375 kB / 0.7639 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.006587, allocations: 4.375 kB / 0.7639 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.006596, allocations: 4.875 kB / 0.7639 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.314e-05/0.006669, allocations: 36.95 kB / 0.7639 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.007081, allocations: 284.5 kB / 0.7642 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.007213, allocations: 96.59 kB / 0.7643 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.562e-05/0.007269, allocations: 44.83 kB / 0.7643 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.007292, allocations: 4 kB / 0.7643 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.007313, allocations: 30.56 kB / 0.7644 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.007315, allocations: 0 / 0.7644 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17): time 0.0002097/0.007524, allocations: 110.4 kB / 0.7645 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.007554, allocations: 55.31 kB / 0.7645 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.396e-05/0.007648, allocations: 176.4 kB / 0.7647 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.007664, allocations: 29.7 kB / 0.7647 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.007713, allocations: 120.4 kB / 0.7648 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.007754, allocations: 55.47 kB / 0.7649 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/0.007802, allocations: 37.64 kB / 0.7649 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.83e-05/0.00789, allocations: 336.2 kB / 0.7652 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.842e-05/0.007928, allocations: 15.98 kB / 0.7653 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.492e-05/0.008003, allocations: 89.97 kB / 0.7653 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.044e-05/0.008084, allocations: 58.83 kB / 0.7654 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.008086, allocations: 0.9375 kB / 0.7654 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001263/0.008212, allocations: 95.12 kB / 0.7655 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.008225, allocations: 4 kB / 0.7655 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.00823, allocations: 4.922 kB / 0.7655 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.008243, allocations: 0 / 0.7655 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.008407, allocations: 52.66 kB / 0.7655 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.008411, allocations: 4.5 kB / 0.7656 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.949e-05/0.008491, allocations: 39.19 kB / 0.7656 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.008501, allocations: 4 kB / 0.7656 GB, free: 0.7812 MB / 0.7136 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.28e-05/0.008573, allocations: 125.7 kB / 0.7657 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.008602, allocations: 15.98 kB / 0.7657 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.008634, allocations: 21.81 kB / 0.7657 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.008638, allocations: 4 kB / 0.7658 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-06/0.00864, allocations: 0 / 0.7658 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.008645, allocations: 10.42 kB / 0.7658 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.008787, allocations: 125.7 kB / 0.7659 GB, free: 468 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.008789, allocations: 0 / 0.7659 GB, free: 468 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.008928, allocations: 55.94 kB / 0.7659 GB, free: 412 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.00893, allocations: 0 / 0.7659 GB, free: 412 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.008946, allocations: 9.031 kB / 0.7659 GB, free: 404 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.008947, allocations: 0 / 0.7659 GB, free: 404 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.008948, allocations: 0 / 0.7659 GB, free: 404 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.009183, allocations: 230.3 kB / 0.7662 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.571e-05/0.009198, allocations: 11.91 kB / 0.7662 GB, free: 148 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.009217, allocations: 5.031 kB / 0.7662 GB, free: 144 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.552e-05/0.009313, allocations: 28.94 kB / 0.7662 GB, free: 116 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.968e-05/0.009382, allocations: 27.95 kB / 0.7662 GB, free: 88 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.009392, allocations: 4 kB / 0.7662 GB, free: 84 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.672e-05/0.009428, allocations: 50.67 kB / 0.7663 GB, free: 32 kB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/0.009429, allocations: 0 / 0.7663 GB, free: 32 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001728/0.009601, allocations: 44.05 kB / 0.7663 GB, free: 15.98 MB / 0.7292 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.0001264/0.009728, allocations: 81.02 kB / 0.7664 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000147/0.009875, allocations: 64.83 kB / 0.7665 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.009879, allocations: 0.6562 kB / 0.7665 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.611e-05/0.009945, allocations: 48.89 kB / 0.7665 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.01017, allocations: 44.91 kB / 0.7666 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004682/0.01064, allocations: 344 kB / 0.7669 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.557e-05/0.01068, allocations: 76.8 kB / 0.767 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.132e-05/0.01074, allocations: 11.56 kB / 0.767 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.01086, allocations: 83.34 kB / 0.767 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of SimCode: time 6.71e-07/0.01086, allocations: 0.9375 kB / 0.7671 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of Templates: time 0.004533/0.0154, allocations: 2.659 MB / 0.7696 GB, free: 12.71 MB / 0.7292 GB " [Timeout remaining time 300] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 240] 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","",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.2401504116132855]