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.001073/0.001073, allocations: 88.23 kB / 19.64 MB, free: 308 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.0009926/0.0009926, allocations: 168.9 kB / 23.02 MB, free: 1.574 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.9564/0.9564, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.134/2.134, allocations: 429.5 MB / 0.6732 GB, free: 4.004 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.136e-06/3.136e-06, allocations: 0 / 0.8782 GB, free: 6.211 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.025e-05/3.338e-05, allocations: 4.844 kB / 0.8783 GB, free: 6.207 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.006419/0.006453, allocations: 1.063 MB / 0.8793 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.0079, allocations: 1.009 MB / 0.8803 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.008002, allocations: 7.938 kB / 0.8803 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.265e-05/0.008064, allocations: 19.73 kB / 0.8803 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.00327/0.01133, allocations: 44.09 kB / 0.8803 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.01163, allocations: 69.14 kB / 0.8804 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002896/0.01192, allocations: 235.3 kB / 0.8806 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.01209, allocations: 50.56 kB / 0.8807 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002062/0.0123, allocations: 127.8 kB / 0.8808 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003933/0.01269, allocations: 83.75 kB / 0.8809 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.722e-05/0.01274, allocations: 20 kB / 0.8809 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.199e-05/0.01277, allocations: 21.59 kB / 0.8809 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.01281, allocations: 43.83 kB / 0.881 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.662e-05/0.01289, allocations: 59.83 kB / 0.881 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.01312, allocations: 155.4 kB / 0.8812 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.01312, allocations: 1.875 kB / 0.8812 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.563e-06/0.01312, allocations: 0 / 0.8812 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.01313, allocations: 0 / 0.8812 GB, free: 3.234 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.0008209/0.01395, allocations: 0.5451 MB / 0.8817 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.014, allocations: 8.031 kB / 0.8817 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00312/0.01712, allocations: 32.8 kB / 0.8817 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.01737, allocations: 173.1 kB / 0.8819 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.01739, allocations: 8.375 kB / 0.8819 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.01743, allocations: 16.38 kB / 0.8819 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004263/0.01786, allocations: 178.7 kB / 0.8821 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.01787, allocations: 192 / 0.8821 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.01789, allocations: 4.375 kB / 0.8821 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.0179, allocations: 4.375 kB / 0.8821 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.01806, allocations: 55.84 kB / 0.8822 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006813/0.01874, allocations: 435.3 kB / 0.8826 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.01897, allocations: 107 kB / 0.8827 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.01911, allocations: 63.53 kB / 0.8827 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.2e-05/0.01915, allocations: 7.984 kB / 0.8828 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.01918, allocations: 37.39 kB / 0.8828 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 2.044e-06/0.01918, allocations: 0 / 0.8828 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0004282/0.01961, allocations: 133.8 kB / 0.8829 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.01965, allocations: 59.39 kB / 0.883 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.01983, allocations: 227.5 kB / 0.8832 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.01985, allocations: 29.7 kB / 0.8832 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.684e-05/0.01995, allocations: 179.2 kB / 0.8834 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.048e-05/0.02001, allocations: 55.55 kB / 0.8834 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.385e-05/0.02009, allocations: 35.38 kB / 0.8835 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.02024, allocations: 0.5039 MB / 0.884 GB, free: 180 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-05/0.02033, allocations: 23.92 kB / 0.884 GB, free: 156 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.02046, allocations: 104.3 kB / 0.8841 GB, free: 28 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.02062, allocations: 69.81 kB / 0.8842 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.02062, allocations: 0 / 0.8842 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002469/0.02087, allocations: 121.5 kB / 0.8843 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.02089, allocations: 4 kB / 0.8843 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.0209, allocations: 4.031 kB / 0.8843 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/0.02092, allocations: 4 kB / 0.8843 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.02118, allocations: 51.91 kB / 0.8843 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.02118, allocations: 3.984 kB / 0.8843 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.02131, allocations: 39.84 kB / 0.8844 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.02132, allocations: 8 kB / 0.8844 GB, free: 15.72 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.0001/0.02142, allocations: 160.6 kB / 0.8845 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.02147, allocations: 27.8 kB / 0.8846 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.02152, allocations: 21.81 kB / 0.8846 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.02153, allocations: 7.984 kB / 0.8846 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.02153, allocations: 0 / 0.8846 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.02153, allocations: 0 / 0.8846 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.02175, allocations: 188.4 kB / 0.8848 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.02175, allocations: 3.938 kB / 0.8848 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.02196, allocations: 55.95 kB / 0.8848 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.02197, allocations: 0 / 0.8848 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.02199, allocations: 4 kB / 0.8848 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.02199, allocations: 4 kB / 0.8848 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.02199, allocations: 0 / 0.8848 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000403/0.02239, allocations: 306.4 kB / 0.8851 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.646e-05/0.02242, allocations: 19.91 kB / 0.8851 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.02245, allocations: 0 / 0.8851 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.02259, allocations: 27.97 kB / 0.8852 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-05/0.02268, allocations: 31.95 kB / 0.8852 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.02269, allocations: 4 kB / 0.8852 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.07e-05/0.02278, allocations: 167.2 kB / 0.8854 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02278, allocations: 0 / 0.8854 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002714/0.02305, allocations: 47.89 kB / 0.8854 GB, free: 14.6 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.0001351/0.02319, allocations: 95.19 kB / 0.8855 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.02344, allocations: 87.48 kB / 0.8856 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.02344, allocations: 0 / 0.8856 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.02355, allocations: 49.48 kB / 0.8856 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.02392, allocations: 43.97 kB / 0.8857 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006568/0.02458, allocations: 350.9 kB / 0.886 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.396e-05/0.02463, allocations: 71.84 kB / 0.8861 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.63e-05/0.02471, allocations: 17.08 kB / 0.8861 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.216e-05/0.02479, allocations: 24.5 kB / 0.8861 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of SimCode: time 8.11e-07/0.02479, allocations: 0 / 0.8861 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of Templates: time 0.006174/0.03096, allocations: 2.942 MB / 0.889 GB, free: 10.92 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.671781925950199]