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.001121/0.001121, allocations: 109.1 kB / 16.41 MB, free: 6.496 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.001146/0.001147, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.17 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.355/2.355, allocations: 390.3 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 63.91 kB / 0.9516 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7978/0.7993, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.002131/0.8015, allocations: 1.105 MB / 1.09 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.8026, allocations: 0.9558 MB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.348e-05/0.8027, allocations: 2.688 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.918e-05/0.8027, allocations: 18.94 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.8029, allocations: 43.19 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.8031, allocations: 63.66 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.8033, allocations: 227.2 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.8035, allocations: 71.36 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.8036, allocations: 92.11 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.8038, allocations: 108.8 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.262e-05/0.8039, allocations: 18.25 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.601e-05/0.8039, allocations: 20 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.222e-05/0.8039, allocations: 46.05 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.241e-05/0.804, allocations: 96.8 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.8043, allocations: 214.6 kB / 1.092 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.8043, allocations: 0 / 1.092 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8043, allocations: 1.094 kB / 1.092 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.8043, allocations: 0.5625 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.001151/0.8055, allocations: 0.5588 MB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.8055, allocations: 14.41 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.877e-05/0.8056, allocations: 18.12 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.8058, allocations: 227 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.8058, allocations: 9.688 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.337e-05/0.8059, allocations: 14.3 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000851/0.8067, allocations: 245.8 kB / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.8068, allocations: 192 / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.8068, allocations: 9.375 kB / 1.093 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.8068, allocations: 3.219 kB / 1.093 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.808, allocations: 287.9 kB / 1.093 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006502/0.8086, allocations: 495.6 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008219/0.8095, allocations: 251 kB / 1.094 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006911/0.8102, allocations: 193.6 kB / 1.094 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.8102, allocations: 2.562 kB / 1.094 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.8103, allocations: 35.81 kB / 1.094 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.8103, allocations: 4.5 kB / 1.094 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17): time 0.002097/0.8124, allocations: 0.4927 MB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.8124, allocations: 54.36 kB / 1.094 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.8126, allocations: 171.6 kB / 1.095 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.8126, allocations: 38.97 kB / 1.095 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.8127, allocations: 126.3 kB / 1.095 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.269e-05/0.8127, allocations: 59.3 kB / 1.095 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.323e-05/0.8128, allocations: 29.95 kB / 1.095 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.823e-05/0.8129, allocations: 328.4 kB / 1.095 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006548/0.8135, allocations: 148.2 kB / 1.095 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006583/0.8142, allocations: 150.9 kB / 1.095 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.8155, allocations: 298.6 kB / 1.096 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.8155, allocations: 0 / 1.096 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001333/0.8168, allocations: 361.8 kB / 1.096 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.8168, allocations: 5.156 kB / 1.096 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.8168, allocations: 3.938 kB / 1.096 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.8169, allocations: 5 kB / 1.096 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004428/0.8173, allocations: 85.05 kB / 1.096 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.8173, allocations: 0.5938 kB / 1.096 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003289/0.8177, allocations: 61.77 kB / 1.096 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.8177, allocations: 3.688 kB / 1.096 GB, free: 1.086 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 9.678e-05/0.8178, allocations: 125.3 kB / 1.096 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.8178, allocations: 15.03 kB / 1.096 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.226e-05/0.8179, allocations: 31.81 kB / 1.096 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.8179, allocations: 6.359 kB / 1.096 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.8179, allocations: 0.5312 kB / 1.096 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.8179, allocations: 0.75 kB / 1.096 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.8182, allocations: 277.9 kB / 1.097 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.8182, allocations: 0 / 1.097 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000433/0.8187, allocations: 75.89 kB / 1.097 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.8187, allocations: 1.75 kB / 1.097 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.8187, allocations: 9 kB / 1.097 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.8187, allocations: 1.781 kB / 1.097 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8187, allocations: 0 / 1.097 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.8207, allocations: 0.6275 MB / 1.097 GB, free: 448 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.8208, allocations: 90.56 kB / 1.097 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.8208, allocations: 9 kB / 1.097 GB, free: 336 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/0.8212, allocations: 57.12 kB / 1.098 GB, free: 328 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.995e-05/0.8213, allocations: 27.28 kB / 1.098 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.8213, allocations: 3.312 kB / 1.098 GB, free: 316 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.817e-05/0.8214, allocations: 130.1 kB / 1.098 GB, free: 224 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8214, allocations: 0 / 1.098 GB, free: 224 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000289/0.8217, allocations: 51.19 kB / 1.098 GB, free: 204 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.000147/0.8219, allocations: 103.9 kB / 1.098 GB, free: 108 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001383/0.8232, allocations: 323.2 kB / 1.098 GB, free: 56 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8233, allocations: 0 / 1.098 GB, free: 56 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006689/0.8239, allocations: 174.2 kB / 1.098 GB, free: 24 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.8244, allocations: 33.12 kB / 1.098 GB, free: 12 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007727/0.8252, allocations: 389.9 kB / 1.099 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.8255, allocations: 0.7286 MB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.8256, allocations: 26.5 kB / 1.099 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of SimCode: time 2.81e-07/0.8256, allocations: 3.938 kB / 1.099 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of Templates: time 0.005523/0.8311, allocations: 2.57 MB / 1.102 GB, free: 14.82 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