Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 109.8 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.248/2.248, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 71.88 kB / 0.9516 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7754/0.7768, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.002209/0.779, allocations: 1.104 MB / 1.09 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.7802, allocations: 0.9553 MB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.504e-05/0.7803, allocations: 2.031 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.817e-05/0.7804, allocations: 22.56 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.7806, allocations: 39.84 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.7808, allocations: 67.66 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000302/0.7811, allocations: 222.4 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002/0.7813, allocations: 76.52 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.7814, allocations: 91.17 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.7816, allocations: 108.2 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.941e-05/0.7817, allocations: 19.53 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.77e-05/0.7817, allocations: 18.31 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.8e-05/0.7818, allocations: 43.84 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.7819, allocations: 91.48 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.7822, allocations: 223.5 kB / 1.092 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7822, allocations: 0 / 1.092 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.774e-06/0.7822, allocations: 0.6875 kB / 1.092 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.7822, allocations: 4 kB / 1.092 GB, free: 3.539 MB / 0.8575 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.001104/0.7833, allocations: 0.5561 MB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.7834, allocations: 13.91 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.559e-05/0.7835, allocations: 18.91 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.7837, allocations: 226.8 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.7837, allocations: 9.969 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.252e-05/0.7837, allocations: 12.97 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000781/0.7845, allocations: 241.8 kB / 1.093 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.7846, allocations: 192 / 1.093 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.7846, allocations: 14.02 kB / 1.093 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.7846, allocations: 3.156 kB / 1.093 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.7858, allocations: 287.9 kB / 1.093 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007456/0.7865, allocations: 495.6 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008396/0.7874, allocations: 250.9 kB / 1.094 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006735/0.7881, allocations: 194 kB / 1.094 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.7881, allocations: 2.969 kB / 1.094 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.7881, allocations: 40.03 kB / 1.094 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.7881, allocations: 0 / 1.094 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17): time 0.00197/0.7901, allocations: 0.4954 MB / 1.094 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.7902, allocations: 56.88 kB / 1.094 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.7903, allocations: 176 kB / 1.095 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.7904, allocations: 30.58 kB / 1.095 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.691e-05/0.7905, allocations: 126.2 kB / 1.095 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.86e-05/0.7905, allocations: 55.06 kB / 1.095 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.172e-05/0.7906, allocations: 31.17 kB / 1.095 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.51e-05/0.7907, allocations: 328.2 kB / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006105/0.7913, allocations: 147.4 kB / 1.095 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006162/0.7919, allocations: 148.8 kB / 1.095 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.7931, allocations: 298.3 kB / 1.096 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7931, allocations: 0 / 1.096 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001254/0.7944, allocations: 364.4 kB / 1.096 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.7944, allocations: 6.266 kB / 1.096 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.7944, allocations: 0 / 1.096 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.7944, allocations: 9.312 kB / 1.096 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/0.7949, allocations: 80.22 kB / 1.096 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.7949, allocations: 2.391 kB / 1.096 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.7952, allocations: 60.16 kB / 1.096 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.7953, allocations: 3.938 kB / 1.096 GB, free: 1.094 MB / 0.8575 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.0001037/0.7954, allocations: 131.2 kB / 1.096 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.7954, allocations: 15.47 kB / 1.096 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.325e-05/0.7955, allocations: 28.92 kB / 1.096 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.7955, allocations: 1.75 kB / 1.096 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.7955, allocations: 0 / 1.096 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.7955, allocations: 2.125 kB / 1.096 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003325/0.7958, allocations: 280.5 kB / 1.097 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.7959, allocations: 0.5 kB / 1.097 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.7963, allocations: 76.27 kB / 1.097 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.7963, allocations: 1.094 kB / 1.097 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.7963, allocations: 9.688 kB / 1.097 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.7963, allocations: 0.9688 kB / 1.097 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7963, allocations: 1.094 kB / 1.097 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.7982, allocations: 0.6261 MB / 1.097 GB, free: 456 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.7982, allocations: 95.67 kB / 1.097 GB, free: 348 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.7983, allocations: 9.531 kB / 1.098 GB, free: 340 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003152/0.7986, allocations: 51.77 kB / 1.098 GB, free: 336 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.7987, allocations: 23.81 kB / 1.098 GB, free: 328 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.7988, allocations: 3.938 kB / 1.098 GB, free: 328 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001228/0.7989, allocations: 130.9 kB / 1.098 GB, free: 236 kB / 0.8575 GB Notification: Performance of sort global known variables: time 5.01e-07/0.7989, allocations: 7.938 kB / 1.098 GB, free: 228 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002954/0.7992, allocations: 46.06 kB / 1.098 GB, free: 212 kB / 0.8575 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.0001662/0.7994, allocations: 104.3 kB / 1.098 GB, free: 116 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.8006, allocations: 319.8 kB / 1.098 GB, free: 68 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8007, allocations: 4 kB / 1.098 GB, free: 64 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006195/0.8013, allocations: 169.1 kB / 1.098 GB, free: 36 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.8018, allocations: 34.25 kB / 1.098 GB, free: 24 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008356/0.8026, allocations: 397.3 kB / 1.099 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.8029, allocations: 0.7292 MB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.8031, allocations: 22.77 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of SimCode: time 1.754e-06/0.8031, allocations: 0 / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of Templates: time 0.006065/0.8091, allocations: 2.572 MB / 1.102 GB, free: 14.83 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches