Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00839/0.00839, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.002245/0.002245, allocations: 196.1 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.596/2.596, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.007/4.007, allocations: 437.1 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00204/0.002041, allocations: 67.91 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3464, allocations: 151.6 MB / 1.166 GB, free: 7.348 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002737/0.3492, allocations: 1.103 MB / 1.167 GB, free: 6.242 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.3505, allocations: 0.9675 MB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.391e-05/0.3506, allocations: 4 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.926e-05/0.3507, allocations: 19.73 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.3508, allocations: 35.59 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.351, allocations: 71.84 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00029/0.3513, allocations: 223.4 kB / 1.169 GB, free: 4.914 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.3516, allocations: 76.77 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.3517, allocations: 87.69 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.3519, allocations: 119.4 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.867e-05/0.352, allocations: 20 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.588e-05/0.352, allocations: 16 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.029e-05/0.3521, allocations: 47.84 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.3522, allocations: 87.52 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003481/0.3526, allocations: 223.2 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3526, allocations: 0 / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3526, allocations: 0 / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.3526, allocations: 0 / 1.169 GB, free: 4.246 MB / 0.92 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.001496/0.3541, allocations: 0.5686 MB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.3542, allocations: 16.02 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.782e-05/0.3542, allocations: 46.75 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.805e-05/0.3543, allocations: 20.8 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.3546, allocations: 224 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.3546, allocations: 12.38 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.3547, allocations: 12.38 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008447/0.3555, allocations: 242 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.3555, allocations: 3.938 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.3556, allocations: 8 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.3556, allocations: 4 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.3568, allocations: 295.7 kB / 1.171 GB, free: 2.707 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008338/0.3577, allocations: 0.4885 MB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008248/0.3585, allocations: 242.4 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006936/0.3592, allocations: 192.7 kB / 1.172 GB, free: 1.73 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.3593, allocations: 4 kB / 1.172 GB, free: 1.727 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.3593, allocations: 34.56 kB / 1.172 GB, free: 1.684 MB / 0.92 GB Notification: Performance of pre-optimization done (n=17): time 1.773e-06/0.3593, allocations: 0 / 1.172 GB, free: 1.684 MB / 0.92 GB Notification: Performance of matching and sorting (n=17): time 0.002117/0.3614, allocations: 0.4985 MB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.3615, allocations: 59.41 kB / 1.172 GB, free: 1.109 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.3617, allocations: 183.3 kB / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.3617, allocations: 29.7 kB / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.385e-05/0.3618, allocations: 128.4 kB / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.381e-05/0.3619, allocations: 59.48 kB / 1.172 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.514e-05/0.362, allocations: 33.7 kB / 1.173 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3622, allocations: 326.8 kB / 1.173 GB, free: 340 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006405/0.3628, allocations: 147.8 kB / 1.173 GB, free: 192 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007165/0.3635, allocations: 180.4 kB / 1.173 GB, free: 4 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.3648, allocations: 300.5 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3648, allocations: 0 / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001343/0.3662, allocations: 367 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.3662, allocations: 11.94 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3662, allocations: 3.938 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3663, allocations: 0 / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004441/0.3667, allocations: 75.91 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.3667, allocations: 4 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/0.3671, allocations: 59.88 kB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.3671, allocations: 12 kB / 1.174 GB, free: 15.18 MB / 0.9356 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.0001503/0.3672, allocations: 129.8 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.3673, allocations: 15.91 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.955e-05/0.3674, allocations: 25.81 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.3674, allocations: 0 / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3674, allocations: 0 / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3674, allocations: 0 / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.3678, allocations: 281.4 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3678, allocations: 0 / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004315/0.3682, allocations: 75.91 kB / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-05/0.3682, allocations: 0 / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.3683, allocations: 15.88 kB / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3683, allocations: 0 / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3683, allocations: 0 / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.3704, allocations: 0.6295 MB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.37e-05/0.3705, allocations: 92.98 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.3705, allocations: 3.938 kB / 1.175 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/0.3709, allocations: 51.92 kB / 1.175 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-05/0.371, allocations: 23.97 kB / 1.175 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.371, allocations: 4 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000124/0.3711, allocations: 132.5 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3711, allocations: 0 / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003014/0.3714, allocations: 39.95 kB / 1.175 GB, free: 13.59 MB / 0.9356 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.002512/0.3739, allocations: 1.176 MB / 1.177 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001374/0.3753, allocations: 327.7 kB / 1.177 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3754, allocations: 0 / 1.177 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006743/0.376, allocations: 179.7 kB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.3765, allocations: 29.48 kB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005263/0.3818, allocations: 2.535 MB / 1.18 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.3822, allocations: 0.7279 MB / 1.18 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001097/0.3823, allocations: 9.094 kB / 1.18 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.3824, allocations: 67.41 kB / 1.18 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of SimCode: time 3.6e-07/0.3824, allocations: 0 / 1.18 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.4123, allocations: 4.72 MB / 1.185 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.02, allocations: 9.766 kB / 1.185 GB, free: 3.816 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv --start-time 0 --stop-time 480 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.192 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches