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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009739/0.0009739, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001008/0.001008, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.341/2.341, allocations: 390.3 MB / 0.6653 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003283, allocations: 19.94 kB / 0.8146 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6988/0.6991, allocations: 142.3 MB / 0.9535 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.001057/0.7002, allocations: 0.7523 MB / 0.9543 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.7013, allocations: 0.9575 MB / 0.9552 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.559e-05/0.7013, allocations: 2.156 kB / 0.9552 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.7014, allocations: 11.86 kB / 0.9552 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.7015, allocations: 34.25 kB / 0.9552 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.7017, allocations: 48.53 kB / 0.9553 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000172/0.7019, allocations: 126 kB / 0.9554 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.702, allocations: 59.61 kB / 0.9555 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.42e-05/0.7021, allocations: 69.09 kB / 0.9555 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.7023, allocations: 88.88 kB / 0.9556 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.7023, allocations: 7.75 kB / 0.9556 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.581e-05/0.7023, allocations: 9.625 kB / 0.9556 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.988e-05/0.7024, allocations: 31.52 kB / 0.9557 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.7024, allocations: 54.77 kB / 0.9557 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.7026, allocations: 142.4 kB / 0.9559 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.7026, allocations: 1.062 kB / 0.9559 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7026, allocations: 0 / 0.9559 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.7026, allocations: 4 kB / 0.9559 GB, free: 6.434 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.001058/0.7036, allocations: 0.5863 MB / 0.9564 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.7037, allocations: 9.406 kB / 0.9564 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.7037, allocations: 21.3 kB / 0.9565 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.7039, allocations: 219.9 kB / 0.9567 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.704, allocations: 9.75 kB / 0.9567 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.704, allocations: 12.81 kB / 0.9567 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007763/0.7048, allocations: 291 kB / 0.957 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.7048, allocations: 0 / 0.957 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.7048, allocations: 5.469 kB / 0.957 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.7048, allocations: 2.844 kB / 0.957 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.706, allocations: 394.5 kB / 0.9574 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000617/0.7066, allocations: 498.3 kB / 0.9578 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007687/0.7074, allocations: 300.5 kB / 0.9581 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.7074, allocations: 2.344 kB / 0.9581 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.42e-05/0.7075, allocations: 31.88 kB / 0.9581 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.7075, allocations: 1.031 kB / 0.9581 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.001929/0.7094, allocations: 0.6374 MB / 0.9588 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.7094, allocations: 56.78 kB / 0.9588 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.7096, allocations: 178.3 kB / 0.959 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.7096, allocations: 25.7 kB / 0.959 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/0.7097, allocations: 128.6 kB / 0.9591 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.7097, allocations: 57.97 kB / 0.9592 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/0.7097, allocations: 5.375 kB / 0.9592 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.186e-05/0.7098, allocations: 334.9 kB / 0.9595 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006111/0.7104, allocations: 194.7 kB / 0.9597 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006136/0.711, allocations: 199.2 kB / 0.9599 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005988/0.7116, allocations: 198.2 kB / 0.9601 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.7116, allocations: 1.031 kB / 0.9601 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001395/0.713, allocations: 447 kB / 0.9605 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.7131, allocations: 4.938 kB / 0.9605 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.7131, allocations: 0 / 0.9605 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.7131, allocations: 5.031 kB / 0.9605 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004579/0.7136, allocations: 107.3 kB / 0.9606 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.7136, allocations: 5.031 kB / 0.9606 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003262/0.7139, allocations: 87.2 kB / 0.9607 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.714, allocations: 4.031 kB / 0.9607 GB, free: 3.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.946e-05/0.7141, allocations: 127.5 kB / 0.9608 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.7141, allocations: 19.66 kB / 0.9609 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.793e-05/0.7142, allocations: 21.11 kB / 0.9609 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.7142, allocations: 3.062 kB / 0.9609 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.7142, allocations: 0 / 0.9609 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.7142, allocations: 0 / 0.9609 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.7145, allocations: 282.8 kB / 0.9612 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.7145, allocations: 1.344 kB / 0.9612 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/0.7149, allocations: 102.2 kB / 0.9612 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.7149, allocations: 1.156 kB / 0.9613 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.7149, allocations: 1.281 kB / 0.9613 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.7149, allocations: 0 / 0.9613 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.715, allocations: 1.219 kB / 0.9613 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.7169, allocations: 0.7712 MB / 0.962 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.717, allocations: 97.72 kB / 0.9621 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.7171, allocations: 5.062 kB / 0.9621 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/0.7174, allocations: 82.33 kB / 0.9622 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.93e-05/0.7175, allocations: 19.72 kB / 0.9622 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.7175, allocations: 2.375 kB / 0.9622 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.968e-05/0.7176, allocations: 139.2 kB / 0.9623 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7176, allocations: 0 / 0.9623 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002737/0.7179, allocations: 46.53 kB / 0.9624 GB, free: 2.125 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001329/0.718, allocations: 103.5 kB / 0.9625 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.7195, allocations: 426.9 kB / 0.9629 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7195, allocations: 3.938 kB / 0.9629 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006761/0.7202, allocations: 219.3 kB / 0.9631 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.7205, allocations: 30.58 kB / 0.9631 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006389/0.7212, allocations: 416.8 kB / 0.9635 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.7213, allocations: 0.7292 MB / 0.9642 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.971e-05/0.7214, allocations: 16.02 kB / 0.9643 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.62e-05/0.7215, allocations: 18.03 kB / 0.9643 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of SimCode: time 7.62e-07/0.7215, allocations: 0 / 0.9643 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of Templates: time 0.004558/0.7261, allocations: 2.026 MB / 0.9662 GB, free: 15.72 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches