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.001651/0.001651, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002202/0.002202, allocations: 192 kB / 16.53 MB, free: 6.391 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.549/1.549, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.559/2.559, allocations: 390.2 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 71.88 kB / 0.8125 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9165/0.9186, allocations: 140.4 MB / 0.9496 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.002692/0.9214, allocations: 1.096 MB / 0.9507 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.9227, allocations: 0.9534 MB / 0.9516 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.098e-05/0.9228, allocations: 1.062 kB / 0.9516 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.379e-05/0.9228, allocations: 20.86 kB / 0.9516 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.923, allocations: 35.53 kB / 0.9517 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.9232, allocations: 62.97 kB / 0.9517 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.9235, allocations: 225 kB / 0.9519 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/0.9237, allocations: 77.47 kB / 0.952 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.9238, allocations: 90.09 kB / 0.9521 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.924, allocations: 108.8 kB / 0.9522 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.449e-05/0.9241, allocations: 18.88 kB / 0.9522 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.644e-05/0.9241, allocations: 19.59 kB / 0.9522 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.9242, allocations: 52.73 kB / 0.9523 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.989e-05/0.9243, allocations: 85.17 kB / 0.9524 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.9245, allocations: 218.2 kB / 0.9526 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.9245, allocations: 0 / 0.9526 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.465e-06/0.9245, allocations: 0 / 0.9526 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.9245, allocations: 0 / 0.9526 GB, free: 6.801 MB / 0.7169 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.001155/0.9257, allocations: 0.5593 MB / 0.9531 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.9257, allocations: 9 kB / 0.9531 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.547e-05/0.9258, allocations: 22.25 kB / 0.9532 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.926, allocations: 223.9 kB / 0.9534 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.9261, allocations: 9.344 kB / 0.9534 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.9261, allocations: 13.53 kB / 0.9534 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007743/0.9269, allocations: 236.3 kB / 0.9536 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.9269, allocations: 192 / 0.9536 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.927, allocations: 9.281 kB / 0.9536 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.927, allocations: 6.844 kB / 0.9536 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.9281, allocations: 297.1 kB / 0.9539 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007412/0.9289, allocations: 0.4898 MB / 0.9544 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000779/0.9297, allocations: 249.6 kB / 0.9546 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006057/0.9303, allocations: 190.8 kB / 0.9548 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.9303, allocations: 2.062 kB / 0.9548 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.9304, allocations: 36.56 kB / 0.9548 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.9304, allocations: 0 / 0.9548 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.001966/0.9323, allocations: 0.5019 MB / 0.9553 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.9324, allocations: 53.78 kB / 0.9554 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.9326, allocations: 181.1 kB / 0.9556 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.9326, allocations: 29.7 kB / 0.9556 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.81e-05/0.9327, allocations: 128.9 kB / 0.9557 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.413e-05/0.9327, allocations: 50.05 kB / 0.9558 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/0.9328, allocations: 35.36 kB / 0.9558 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.769e-05/0.9329, allocations: 326.5 kB / 0.9561 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005907/0.9335, allocations: 149.1 kB / 0.9562 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005917/0.9341, allocations: 152.9 kB / 0.9564 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.9352, allocations: 298.7 kB / 0.9567 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.9352, allocations: 0 / 0.9567 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001266/0.9365, allocations: 368.8 kB / 0.957 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.9365, allocations: 5.281 kB / 0.957 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.9365, allocations: 1.438 kB / 0.957 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.9365, allocations: 3.938 kB / 0.957 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004581/0.937, allocations: 83.03 kB / 0.9571 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.937, allocations: 0 / 0.9571 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.9374, allocations: 54.02 kB / 0.9572 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.9374, allocations: 6.594 kB / 0.9572 GB, free: 3.512 MB / 0.7169 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.0001375/0.9375, allocations: 125.2 kB / 0.9573 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.06e-05/0.9376, allocations: 23.03 kB / 0.9573 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.47e-05/0.9377, allocations: 29.77 kB / 0.9573 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.9377, allocations: 2.219 kB / 0.9573 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.9377, allocations: 0 / 0.9573 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.9377, allocations: 0 / 0.9573 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/0.938, allocations: 271.2 kB / 0.9576 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.9381, allocations: 5.016 kB / 0.9576 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004229/0.9385, allocations: 72.27 kB / 0.9577 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.9385, allocations: 1.094 kB / 0.9577 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.9385, allocations: 10.22 kB / 0.9577 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.9385, allocations: 0 / 0.9577 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.9386, allocations: 9.453 kB / 0.9577 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/0.9406, allocations: 0.6197 MB / 0.9583 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/0.9406, allocations: 101.3 kB / 0.9584 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.9407, allocations: 8.875 kB / 0.9584 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003294/0.941, allocations: 53.7 kB / 0.9585 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.9411, allocations: 22.47 kB / 0.9585 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.9412, allocations: 7.719 kB / 0.9585 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001133/0.9413, allocations: 138.8 kB / 0.9586 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9413, allocations: 0 / 0.9586 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002997/0.9416, allocations: 43.09 kB / 0.9587 GB, free: 2.383 MB / 0.7169 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.000252/0.9418, allocations: 107.2 kB / 0.9588 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001406/0.9433, allocations: 331.6 kB / 0.9591 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9433, allocations: 0 / 0.9591 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006755/0.944, allocations: 173.9 kB / 0.9592 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005359/0.9445, allocations: 39.12 kB / 0.9593 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.9456, allocations: 365.8 kB / 0.9596 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.9459, allocations: 0.7318 MB / 0.9603 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000106/0.946, allocations: 11.84 kB / 0.9604 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.035e-05/0.946, allocations: 20.25 kB / 0.9604 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of SimCode: time 6.81e-07/0.9461, allocations: 0 / 0.9604 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of Templates: time 0.006494/0.9526, allocations: 2.667 MB / 0.963 GB, free: 15.73 MB / 0.7325 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/jenkins/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