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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.001088/0.001088, 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.00108/0.00108, allocations: 192.2 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.341/1.341, 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.381/2.381, allocations: 390.2 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.89 kB / 0.8127 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5327/0.5341, allocations: 140.4 MB / 0.9497 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.001897/0.536, allocations: 1.095 MB / 0.9508 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007579/0.5368, allocations: 0.9521 MB / 0.9517 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.131e-05/0.5368, allocations: 2.531 kB / 0.9517 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.065e-05/0.5369, allocations: 15.75 kB / 0.9518 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.537, allocations: 43.16 kB / 0.9518 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.5372, allocations: 65.28 kB / 0.9519 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.5374, allocations: 225.7 kB / 0.9521 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.5375, allocations: 69.05 kB / 0.9521 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.518e-05/0.5376, allocations: 100.7 kB / 0.9522 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.5377, allocations: 112.6 kB / 0.9523 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.513e-05/0.5377, allocations: 19.12 kB / 0.9524 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.033e-05/0.5378, allocations: 19.06 kB / 0.9524 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.297e-05/0.5378, allocations: 49.08 kB / 0.9524 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.164e-05/0.5379, allocations: 84.52 kB / 0.9525 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.538, allocations: 211.2 kB / 0.9527 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.538, allocations: 4 kB / 0.9527 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5381, allocations: 0 / 0.9527 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.5381, allocations: 0 / 0.9527 GB, free: 6.891 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.0009651/0.539, allocations: 0.5555 MB / 0.9533 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.5391, allocations: 9.75 kB / 0.9533 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.476e-05/0.5391, allocations: 46.08 kB / 0.9533 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.5392, allocations: 26.78 kB / 0.9533 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.5393, allocations: 224.1 kB / 0.9536 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.5393, allocations: 10 kB / 0.9536 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.5394, allocations: 12.75 kB / 0.9536 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007117/0.5401, allocations: 231.7 kB / 0.9538 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.5401, allocations: 3.938 kB / 0.9538 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.5401, allocations: 5.969 kB / 0.9538 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.5401, allocations: 3.125 kB / 0.9538 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.5413, allocations: 301 kB / 0.9541 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005236/0.5418, allocations: 0.4904 MB / 0.9546 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007277/0.5425, allocations: 252.2 kB / 0.9548 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006164/0.5432, allocations: 185.4 kB / 0.955 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.5432, allocations: 1.312 kB / 0.955 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.285e-05/0.5432, allocations: 44.12 kB / 0.955 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.723e-06/0.5432, allocations: 0 / 0.955 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.001848/0.5451, allocations: 0.5027 MB / 0.9555 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.859e-05/0.5451, allocations: 54.19 kB / 0.9556 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.5452, allocations: 170.6 kB / 0.9557 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.5452, allocations: 31.05 kB / 0.9558 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.5453, allocations: 132.7 kB / 0.9559 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.5453, allocations: 53.48 kB / 0.9559 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.97e-05/0.5454, allocations: 31.95 kB / 0.956 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.122e-05/0.5454, allocations: 326.1 kB / 0.9563 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000587/0.546, allocations: 149 kB / 0.9564 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005649/0.5466, allocations: 142.8 kB / 0.9566 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.5477, allocations: 315 kB / 0.9569 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5477, allocations: 0 / 0.9569 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001187/0.5489, allocations: 357.3 kB / 0.9572 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.549, allocations: 7.219 kB / 0.9572 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.549, allocations: 7.875 kB / 0.9572 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.549, allocations: 1.375 kB / 0.9572 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.5494, allocations: 78.12 kB / 0.9573 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.5494, allocations: 5.062 kB / 0.9573 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003036/0.5497, allocations: 60.42 kB / 0.9574 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.5497, allocations: 3.625 kB / 0.9574 GB, free: 3.551 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 7.269e-05/0.5498, allocations: 120.6 kB / 0.9575 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.5499, allocations: 19.72 kB / 0.9575 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.5499, allocations: 29.77 kB / 0.9575 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5499, allocations: 1.281 kB / 0.9575 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5499, allocations: 4.75 kB / 0.9575 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.5499, allocations: 0 / 0.9575 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.5501, allocations: 271.3 kB / 0.9578 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.5502, allocations: 9.078 kB / 0.9578 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000399/0.5506, allocations: 76.16 kB / 0.9579 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5506, allocations: 1.094 kB / 0.9579 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.5506, allocations: 9.094 kB / 0.9579 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.5506, allocations: 5 kB / 0.9579 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.5506, allocations: 0.9062 kB / 0.9579 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.5524, allocations: 0.6227 MB / 0.9585 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.865e-05/0.5525, allocations: 93.08 kB / 0.9586 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.5525, allocations: 10.22 kB / 0.9586 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.5529, allocations: 55.36 kB / 0.9586 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.5529, allocations: 24.06 kB / 0.9587 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.553, allocations: 7.906 kB / 0.9587 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.174e-05/0.553, allocations: 136 kB / 0.9588 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.553, allocations: 3.938 kB / 0.9588 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002663/0.5533, allocations: 38.09 kB / 0.9588 GB, free: 2.426 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.002005/0.5553, allocations: 1.174 MB / 0.96 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001249/0.5566, allocations: 341.5 kB / 0.9603 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5566, allocations: 4.938 kB / 0.9603 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006066/0.5572, allocations: 170.7 kB / 0.9605 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.5576, allocations: 35.92 kB / 0.9605 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004364/0.562, allocations: 2.515 MB / 0.963 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.5622, allocations: 0.7242 MB / 0.9637 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.944e-05/0.5623, allocations: 15.77 kB / 0.9637 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.5625, allocations: 57.27 kB / 0.9638 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.5625, allocations: 0 / 0.9638 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.5823, allocations: 4.58 MB / 0.9682 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.204/7.786, allocations: 11.2 kB / 0.9682 GB, free: 12.38 MB / 0.7325 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate_res.csv","/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