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.0009598/0.0009598, 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.0009322/0.0009322, allocations: 161 kB / 24.17 MB, free: 332 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 0.9869/0.9869, allocations: 177.2 MB / 204.6 MB, free: 5.469 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 1.942/1.942, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.853e-06/1.853e-06, allocations: 0 / 0.7601 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.588e-05, allocations: 3.078 kB / 0.7601 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001414/0.001429, allocations: 1.059 MB / 0.7611 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.002465, allocations: 1.013 MB / 0.7621 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.049e-05/0.002526, allocations: 0 / 0.7621 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.914e-05/0.002565, allocations: 20.61 kB / 0.7621 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.002697, allocations: 47.78 kB / 0.7622 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.002877, allocations: 76.86 kB / 0.7623 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.003082, allocations: 231.3 kB / 0.7625 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.003185, allocations: 55.16 kB / 0.7625 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.003315, allocations: 133.2 kB / 0.7627 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.604e-05/0.003411, allocations: 79.77 kB / 0.7627 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.003442, allocations: 20 kB / 0.7628 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 2e-05/0.003462, allocations: 20 kB / 0.7628 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.285e-05/0.003495, allocations: 44.7 kB / 0.7628 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.326e-05/0.003538, allocations: 67.75 kB / 0.7629 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.00368, allocations: 148.4 kB / 0.763 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.003683, allocations: 3.984 kB / 0.763 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003683, allocations: 0 / 0.763 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.003687, allocations: 1.25 kB / 0.763 GB, free: 3.543 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.0004894/0.004176, allocations: 424.9 kB / 0.7634 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.004207, allocations: 13.06 kB / 0.7634 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.00425, allocations: 28.84 kB / 0.7635 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.004396, allocations: 146.1 kB / 0.7636 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.004412, allocations: 9.062 kB / 0.7636 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.004444, allocations: 20.31 kB / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.00469, allocations: 165.6 kB / 0.7638 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.004697, allocations: 192 / 0.7638 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.004711, allocations: 9.219 kB / 0.7638 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.004717, allocations: 4.375 kB / 0.7638 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.459e-05/0.004782, allocations: 36.66 kB / 0.7638 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003625/0.005144, allocations: 285.2 kB / 0.7641 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.0053, allocations: 94.86 kB / 0.7642 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.669e-05/0.005377, allocations: 44.83 kB / 0.7643 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.005399, allocations: 4 kB / 0.7643 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.005418, allocations: 30.56 kB / 0.7643 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=17): time 1.082e-06/0.005419, allocations: 4 kB / 0.7643 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17): time 0.0001963/0.005615, allocations: 102 kB / 0.7644 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.005644, allocations: 60.91 kB / 0.7644 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.503e-05/0.005729, allocations: 176.3 kB / 0.7646 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.005744, allocations: 33.7 kB / 0.7646 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.005788, allocations: 120.4 kB / 0.7648 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.005827, allocations: 60.94 kB / 0.7648 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.005868, allocations: 33.7 kB / 0.7648 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.833e-05/0.005957, allocations: 334.7 kB / 0.7652 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.351e-05/0.00599, allocations: 12 kB / 0.7652 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.816e-05/0.006058, allocations: 96.08 kB / 0.7653 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.38e-05/0.006132, allocations: 56.8 kB / 0.7653 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.006135, allocations: 0 / 0.7653 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001099/0.006245, allocations: 100.3 kB / 0.7654 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.006256, allocations: 4 kB / 0.7654 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.00626, allocations: 0 / 0.7654 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.006273, allocations: 4 kB / 0.7654 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.006413, allocations: 50.7 kB / 0.7655 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.006419, allocations: 4 kB / 0.7655 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.46e-05/0.006493, allocations: 31.92 kB / 0.7655 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.006502, allocations: 4 kB / 0.7655 GB, free: 0.8398 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 6.608e-05/0.006568, allocations: 121.7 kB / 0.7656 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.006593, allocations: 17.05 kB / 0.7656 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/0.006622, allocations: 25.8 kB / 0.7657 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.006624, allocations: 3.938 kB / 0.7657 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.006626, allocations: 0.9375 kB / 0.7657 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.006629, allocations: 4 kB / 0.7657 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.006765, allocations: 134.6 kB / 0.7658 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.006767, allocations: 4 kB / 0.7658 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.006893, allocations: 53.36 kB / 0.7659 GB, free: 468 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.006894, allocations: 0 / 0.7659 GB, free: 468 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.006908, allocations: 4 kB / 0.7659 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.00691, allocations: 1.438 kB / 0.7659 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.006915, allocations: 4 kB / 0.7659 GB, free: 460 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.007131, allocations: 211.3 kB / 0.7661 GB, free: 232 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.00715, allocations: 20.44 kB / 0.7661 GB, free: 212 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.007169, allocations: 0 / 0.7661 GB, free: 212 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.504e-05/0.007254, allocations: 29.28 kB / 0.7661 GB, free: 184 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.007311, allocations: 35.94 kB / 0.7662 GB, free: 148 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.007316, allocations: 0.5 kB / 0.7662 GB, free: 148 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.601e-05/0.007352, allocations: 56.23 kB / 0.7662 GB, free: 92 kB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.007352, allocations: 0 / 0.7662 GB, free: 92 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001426/0.007495, allocations: 39.89 kB / 0.7662 GB, free: 52 kB / 0.7136 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.303e-05/0.007588, allocations: 84.34 kB / 0.7663 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001317/0.00772, allocations: 61.47 kB / 0.7664 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.007723, allocations: 4 kB / 0.7664 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.592e-05/0.007779, allocations: 46.95 kB / 0.7664 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.007959, allocations: 42.66 kB / 0.7665 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.00837, allocations: 350.4 kB / 0.7668 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.782e-05/0.008408, allocations: 76.77 kB / 0.7669 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.992e-05/0.008458, allocations: 12.86 kB / 0.7669 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.008561, allocations: 83.36 kB / 0.767 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of SimCode: time 6.61e-07/0.008562, allocations: 0 / 0.767 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of Templates: time 0.004057/0.01262, allocations: 2.649 MB / 0.7696 GB, free: 12.78 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 -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.170388977043331]