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.001506/0.001506, allocations: 80.33 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001611/0.001611, allocations: 163.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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.599/1.599, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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 2.968/2.968, allocations: 389 MB / 0.633 GB, free: 0.9844 MB / 0.5919 GB " [Timeout remaining time 176] 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 2.264e-06/2.264e-06, allocations: 0 / 1 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.264e-05/3.491e-05, allocations: 6.281 kB / 1 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002945/0.00298, allocations: 1.016 MB / 1.001 GB, free: 6.168 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001823/0.004803, allocations: 0.991 MB / 1.002 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.004928, allocations: 0 / 1.002 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 6.732e-05/0.004995, allocations: 19.73 kB / 1.002 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.005206, allocations: 43.59 kB / 1.002 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.005497, allocations: 71.83 kB / 1.002 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003944/0.005891, allocations: 231.3 kB / 1.003 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.00609, allocations: 49.2 kB / 1.003 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002807/0.006371, allocations: 127.8 kB / 1.003 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.00657, allocations: 87.75 kB / 1.003 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.638e-05/0.006626, allocations: 23.94 kB / 1.003 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 4.206e-05/0.006668, allocations: 20 kB / 1.003 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.687e-05/0.006735, allocations: 47.81 kB / 1.003 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.896e-05/0.006834, allocations: 59.83 kB / 1.003 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.007229, allocations: 227.2 kB / 1.003 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.007232, allocations: 0 / 1.003 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.032e-06/0.007233, allocations: 0 / 1.003 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.347e-06/0.007242, allocations: 0 / 1.003 GB, free: 4.176 MB / 0.9512 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.001484/0.008726, allocations: 0.4933 MB / 1.004 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.008778, allocations: 8.031 kB / 1.004 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.805e-05/0.008866, allocations: 28.8 kB / 1.004 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.009192, allocations: 177.8 kB / 1.004 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.009214, allocations: 12.38 kB / 1.004 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/0.009259, allocations: 16.38 kB / 1.004 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008734/0.01013, allocations: 242 kB / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.01014, allocations: 4.188 kB / 1.004 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.01017, allocations: 12.36 kB / 1.004 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.01018, allocations: 384 / 1.004 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.01141, allocations: 295.6 kB / 1.004 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007808/0.01219, allocations: 388.1 kB / 1.005 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008715/0.01306, allocations: 234.4 kB / 1.005 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006782/0.01374, allocations: 184.7 kB / 1.005 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.01377, allocations: 4 kB / 1.005 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.0138, allocations: 30.56 kB / 1.005 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=17): time 1.412e-06/0.0138, allocations: 0 / 1.005 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17): time 0.002093/0.0159, allocations: 0.5036 MB / 1.006 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.01596, allocations: 59.41 kB / 1.006 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.01614, allocations: 174.9 kB / 1.006 GB, free: 1.207 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.01618, allocations: 25.7 kB / 1.006 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.01628, allocations: 132.5 kB / 1.006 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.302e-05/0.01634, allocations: 55.48 kB / 1.006 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.36e-05/0.01643, allocations: 33.72 kB / 1.006 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.0166, allocations: 334.8 kB / 1.006 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006549/0.01725, allocations: 143.8 kB / 1.007 GB, free: 484 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007116/0.01796, allocations: 233.7 kB / 1.007 GB, free: 228 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.01923, allocations: 294.6 kB / 1.007 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.01923, allocations: 0 / 1.007 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001378/0.02061, allocations: 367.2 kB / 1.007 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.02063, allocations: 8 kB / 1.007 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.02064, allocations: 0 / 1.007 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.02066, allocations: 0 / 1.007 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004517/0.02112, allocations: 79.91 kB / 1.008 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.974e-06/0.02112, allocations: 0 / 1.008 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003412/0.02146, allocations: 63.75 kB / 1.008 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.02149, allocations: 8 kB / 1.008 GB, free: 15.41 MB / 0.9669 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.0001544/0.02164, allocations: 129.7 kB / 1.008 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/0.02169, allocations: 15.91 kB / 1.008 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.532e-05/0.02176, allocations: 29.8 kB / 1.008 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.02176, allocations: 0 / 1.008 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.02177, allocations: 4 kB / 1.008 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.02177, allocations: 0 / 1.008 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.02208, allocations: 189.1 kB / 1.008 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.02208, allocations: 0 / 1.008 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/0.02252, allocations: 71.91 kB / 1.008 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.02252, allocations: 4 kB / 1.008 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.02254, allocations: 8 kB / 1.008 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.02255, allocations: 3.938 kB / 1.008 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.02255, allocations: 4 kB / 1.008 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002155/0.02471, allocations: 0.6297 MB / 1.009 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.02475, allocations: 23.83 kB / 1.009 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.02478, allocations: 7.938 kB / 1.009 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003498/0.02513, allocations: 55.98 kB / 1.009 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.247e-05/0.02523, allocations: 23.95 kB / 1.009 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.02524, allocations: 8 kB / 1.009 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001094/0.02535, allocations: 124.4 kB / 1.009 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.02535, allocations: 0 / 1.009 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002815/0.02564, allocations: 39.94 kB / 1.009 GB, free: 14 MB / 0.9669 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.0001638/0.0258, allocations: 111.1 kB / 1.009 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001383/0.02718, allocations: 311.7 kB / 1.009 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.02719, allocations: 0 / 1.009 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006844/0.02787, allocations: 175.7 kB / 1.009 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004606/0.02833, allocations: 31.97 kB / 1.01 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008636/0.02919, allocations: 363.9 kB / 1.01 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.02932, allocations: 120.1 kB / 1.01 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.354e-05/0.02942, allocations: 13.16 kB / 1.01 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.751e-05/0.0295, allocations: 16.5 kB / 1.01 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of SimCode: time 6.61e-07/0.02951, allocations: 0 / 1.01 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of Templates: time 0.007804/0.03731, allocations: 2.915 MB / 1.013 GB, free: 9.957 MB / 0.9669 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.642814327031374]