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.0008245/0.0008245, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007842/0.0007842, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.9047/0.9047, allocations: 177.1 MB / 203.5 MB, free: 5.742 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 1.785/1.785, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.693e-06/1.693e-06, allocations: 3.938 kB / 1.001 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.497e-05, allocations: 5.234 kB / 1.001 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.00144/0.001465, allocations: 1.014 MB / 1.002 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009212/0.002386, allocations: 0.9957 MB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.884e-05/0.002445, allocations: 4 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.956e-05/0.002485, allocations: 15.75 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.002599, allocations: 43.58 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.00277, allocations: 67.86 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.002953, allocations: 231.3 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.003078, allocations: 53.14 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.003193, allocations: 127.8 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.697e-05/0.00329, allocations: 91.69 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.003325, allocations: 20 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.802e-05/0.003343, allocations: 16 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.289e-05/0.003376, allocations: 51.83 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.00342, allocations: 55.83 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.003613, allocations: 235.2 kB / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003614, allocations: 0 / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.82e-07/0.003615, allocations: 0 / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.003619, allocations: 0 / 1.004 GB, free: 9.898 MB / 0.9636 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.0006778/0.004297, allocations: 497.2 kB / 1.004 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.004334, allocations: 12.75 kB / 1.004 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.004377, allocations: 20.8 kB / 1.004 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.00455, allocations: 174.7 kB / 1.005 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.004564, allocations: 16.38 kB / 1.005 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.004595, allocations: 16.33 kB / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004095/0.005004, allocations: 238 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.005013, allocations: 4.188 kB / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.005028, allocations: 4.375 kB / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.005033, allocations: 4.375 kB / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005482/0.005582, allocations: 295.5 kB / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.00603, allocations: 388.1 kB / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004082/0.006438, allocations: 236.4 kB / 1.006 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/0.006751, allocations: 185 kB / 1.006 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.006777, allocations: 0 / 1.006 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.006799, allocations: 42.45 kB / 1.006 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=17): time 8.52e-07/0.0068, allocations: 0 / 1.006 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of matching and sorting (n=17): time 0.000973/0.007773, allocations: 0.4971 MB / 1.006 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.007802, allocations: 51.41 kB / 1.006 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.007908, allocations: 179.5 kB / 1.007 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.007926, allocations: 29.7 kB / 1.007 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.00798, allocations: 120.5 kB / 1.007 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/0.008019, allocations: 59.44 kB / 1.007 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.008069, allocations: 37.7 kB / 1.007 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.818e-05/0.008147, allocations: 334.7 kB / 1.007 GB, free: 6.355 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.008432, allocations: 155.7 kB / 1.007 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.00875, allocations: 223.8 kB / 1.008 GB, free: 5.965 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000545/0.009295, allocations: 302.4 kB / 1.008 GB, free: 5.668 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.009297, allocations: 0 / 1.008 GB, free: 5.668 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006116/0.009909, allocations: 365.2 kB / 1.008 GB, free: 5.305 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.009921, allocations: 4 kB / 1.008 GB, free: 5.301 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.009926, allocations: 0 / 1.008 GB, free: 5.301 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.009938, allocations: 4 kB / 1.008 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.01014, allocations: 79.84 kB / 1.008 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.01014, allocations: 3.938 kB / 1.008 GB, free: 5.215 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.01028, allocations: 67.75 kB / 1.008 GB, free: 5.148 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.01029, allocations: 4 kB / 1.008 GB, free: 5.145 MB / 0.9636 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.637e-05/0.01037, allocations: 125.8 kB / 1.008 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.01039, allocations: 15.91 kB / 1.008 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.01042, allocations: 25.81 kB / 1.009 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01042, allocations: 3.984 kB / 1.009 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01043, allocations: 0 / 1.009 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01043, allocations: 3.984 kB / 1.009 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.01058, allocations: 181.1 kB / 1.009 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01058, allocations: 4 kB / 1.009 GB, free: 4.746 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.01077, allocations: 83.84 kB / 1.009 GB, free: 4.664 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.01077, allocations: 4 kB / 1.009 GB, free: 4.66 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.01078, allocations: 4 kB / 1.009 GB, free: 4.656 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.01078, allocations: 0 / 1.009 GB, free: 4.656 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01078, allocations: 4 kB / 1.009 GB, free: 4.652 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009665/0.01175, allocations: 0.6227 MB / 1.009 GB, free: 4.016 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.918e-05/0.01177, allocations: 27.81 kB / 1.009 GB, free: 3.988 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.01179, allocations: 0 / 1.009 GB, free: 3.988 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.01193, allocations: 55.98 kB / 1.009 GB, free: 3.934 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/0.012, allocations: 23.97 kB / 1.01 GB, free: 3.91 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.012, allocations: 4 kB / 1.01 GB, free: 3.906 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.238e-05/0.01207, allocations: 136.4 kB / 1.01 GB, free: 3.773 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01207, allocations: 0 / 1.01 GB, free: 3.773 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00017/0.01224, allocations: 36 kB / 1.01 GB, free: 3.738 MB / 0.9636 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 8.398e-05/0.01232, allocations: 99.19 kB / 1.01 GB, free: 3.633 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0006341/0.01295, allocations: 327.5 kB / 1.01 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01296, allocations: 0 / 1.01 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.01326, allocations: 171.8 kB / 1.01 GB, free: 3.145 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.01351, allocations: 33.94 kB / 1.01 GB, free: 3.113 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000489/0.014, allocations: 396.2 kB / 1.011 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.955e-05/0.01407, allocations: 112.1 kB / 1.011 GB, free: 2.566 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.881e-05/0.01414, allocations: 24.5 kB / 1.011 GB, free: 2.543 MB / 0.9636 GB Notification: Performance of SimCode: time 5.51e-07/0.01414, allocations: 0 / 1.011 GB, free: 2.543 MB / 0.9636 GB Notification: Performance of Templates: time 0.002894/0.01704, allocations: 2.683 MB / 1.013 GB, free: 15.88 MB / 0.9792 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: 6.659983390942216]