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.001875/0.001875, allocations: 88.72 kB / 19.44 MB, free: 356 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.002363/0.002363, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.558/1.558, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 3.258/3.258, allocations: 429.6 MB / 0.673 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 176] 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 2.945e-06/2.945e-06, allocations: 0.7656 kB / 0.8777 GB, free: 6.383 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.355e-05/3.65e-05, allocations: 2.312 kB / 0.8777 GB, free: 6.379 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.003708/0.003744, allocations: 1.03 MB / 0.8787 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002661/0.006406, allocations: 0.9936 MB / 0.8797 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.006564, allocations: 0 / 0.8797 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.761e-05/0.006662, allocations: 19.73 kB / 0.8797 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.006929, allocations: 44.62 kB / 0.8797 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.007291, allocations: 75.83 kB / 0.8798 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005083/0.0078, allocations: 228.4 kB / 0.88 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002269/0.008026, allocations: 49.2 kB / 0.8801 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003762/0.008403, allocations: 131.8 kB / 0.8802 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.008625, allocations: 72.88 kB / 0.8802 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.996e-05/0.008695, allocations: 23.94 kB / 0.8803 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.335e-05/0.008748, allocations: 21.12 kB / 0.8803 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.65e-05/0.008834, allocations: 51.81 kB / 0.8803 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.008968, allocations: 59.83 kB / 0.8804 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004769/0.009445, allocations: 232.2 kB / 0.8806 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.009449, allocations: 0 / 0.8806 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.603e-06/0.009451, allocations: 4 kB / 0.8806 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.009459, allocations: 0.7188 kB / 0.8806 GB, free: 3.383 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.001902/0.01136, allocations: 0.4933 MB / 0.8811 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.01141, allocations: 8.031 kB / 0.8811 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.01156, allocations: 36.8 kB / 0.8811 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.01194, allocations: 162.4 kB / 0.8813 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.01198, allocations: 17.48 kB / 0.8813 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.771e-05/0.01205, allocations: 16.38 kB / 0.8813 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.01331, allocations: 238.9 kB / 0.8816 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.01332, allocations: 192 / 0.8816 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.01336, allocations: 4.375 kB / 0.8816 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.01336, allocations: 8.312 kB / 0.8816 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.01527, allocations: 293.7 kB / 0.8819 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.01641, allocations: 400.1 kB / 0.8822 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/0.01769, allocations: 238.3 kB / 0.8825 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.01874, allocations: 176.7 kB / 0.8826 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.768e-05/0.01878, allocations: 4 kB / 0.8826 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.424e-05/0.01884, allocations: 38.56 kB / 0.8827 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.01884, allocations: 0 / 0.8827 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.00322/0.02206, allocations: 0.4974 MB / 0.8832 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.953e-05/0.02213, allocations: 55.34 kB / 0.8832 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.02241, allocations: 176.1 kB / 0.8834 GB, free: 440 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.914e-05/0.02246, allocations: 29.7 kB / 0.8834 GB, free: 404 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.02261, allocations: 132.5 kB / 0.8835 GB, free: 268 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.02271, allocations: 55.48 kB / 0.8836 GB, free: 212 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.02284, allocations: 33.7 kB / 0.8836 GB, free: 172 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000294/0.02313, allocations: 330.8 kB / 0.8839 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009807/0.02411, allocations: 147.8 kB / 0.8841 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.02517, allocations: 228.2 kB / 0.8843 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/0.02708, allocations: 300.5 kB / 0.8846 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.02708, allocations: 4 kB / 0.8846 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002109/0.02919, allocations: 367.6 kB / 0.8849 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.02923, allocations: 7.984 kB / 0.8849 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.02924, allocations: 0 / 0.8849 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.337e-05/0.02927, allocations: 0 / 0.8849 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006054/0.02988, allocations: 75.92 kB / 0.885 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.02989, allocations: 0 / 0.885 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/0.03032, allocations: 67.75 kB / 0.8851 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.03035, allocations: 11.98 kB / 0.8851 GB, free: 14.62 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.0002045/0.03056, allocations: 129.8 kB / 0.8852 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.875e-05/0.03065, allocations: 23.86 kB / 0.8852 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.63e-05/0.03072, allocations: 21.81 kB / 0.8853 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.03073, allocations: 4 kB / 0.8853 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.03074, allocations: 0 / 0.8853 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.03075, allocations: 3.984 kB / 0.8853 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004275/0.03118, allocations: 189.1 kB / 0.8854 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.03118, allocations: 0 / 0.8854 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005467/0.03173, allocations: 75.92 kB / 0.8855 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.03173, allocations: 0 / 0.8855 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.03176, allocations: 7.984 kB / 0.8855 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.03176, allocations: 0 / 0.8855 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.03177, allocations: 0 / 0.8855 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002877/0.03464, allocations: 0.642 MB / 0.8861 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/0.0347, allocations: 15.88 kB / 0.8862 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.142e-05/0.03475, allocations: 4 kB / 0.8862 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005435/0.0353, allocations: 55.98 kB / 0.8862 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.03545, allocations: 23.95 kB / 0.8862 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.03548, allocations: 4 kB / 0.8862 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000222/0.0357, allocations: 135.1 kB / 0.8864 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/0.0357, allocations: 0 / 0.8864 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005387/0.03624, allocations: 43.89 kB / 0.8864 GB, free: 13.2 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.0002413/0.03648, allocations: 111.1 kB / 0.8865 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002078/0.03856, allocations: 315.6 kB / 0.8868 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.03856, allocations: 0 / 0.8868 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.03962, allocations: 171.8 kB / 0.887 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007544/0.04037, allocations: 43.91 kB / 0.887 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.04168, allocations: 365.4 kB / 0.8874 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.04187, allocations: 116.1 kB / 0.8875 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001646/0.04204, allocations: 13.16 kB / 0.8875 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.04217, allocations: 16.5 kB / 0.8875 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of SimCode: time 7.92e-07/0.04217, allocations: 0 / 0.8875 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of Templates: time 0.01118/0.05335, allocations: 2.938 MB / 0.8904 GB, free: 9.145 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.414050420047715]