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: "" <> 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.001076/0.001076, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00116/0.00116, allocations: 194.6 kB / 16.14 MB, free: 6.648 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.282/1.282, allocations: 222.9 MB / 239.8 MB, free: 4.523 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.099/2.099, allocations: 390.2 MB / 0.6643 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5309/0.5322, allocations: 140.4 MB / 0.9491 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.001997/0.5342, allocations: 1.137 MB / 0.9502 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009134/0.5352, allocations: 0.9613 MB / 0.9511 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.603e-05/0.5352, allocations: 1.375 kB / 0.9511 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.594e-05/0.5353, allocations: 11.86 kB / 0.9511 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.5354, allocations: 31.94 kB / 0.9512 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.5356, allocations: 59.62 kB / 0.9512 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.5357, allocations: 206.8 kB / 0.9514 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.5359, allocations: 71.8 kB / 0.9515 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.876e-05/0.5359, allocations: 89.77 kB / 0.9516 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.601e-05/0.536, allocations: 100.3 kB / 0.9517 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.5361, allocations: 11.97 kB / 0.9517 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.563e-05/0.5361, allocations: 12.75 kB / 0.9517 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.066e-05/0.5361, allocations: 41.05 kB / 0.9517 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.774e-05/0.5362, allocations: 77.22 kB / 0.9518 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.5363, allocations: 216.2 kB / 0.952 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.5364, allocations: 0 / 0.952 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of FrontEnd: time 5.51e-07/0.5364, allocations: 0 / 0.952 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.5364, allocations: 0 / 0.952 GB, free: 6.883 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.000899/0.5373, allocations: 0.5513 MB / 0.9526 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.5373, allocations: 10.34 kB / 0.9526 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.628e-05/0.5373, allocations: 45.77 kB / 0.9526 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.5374, allocations: 27.12 kB / 0.9526 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.5375, allocations: 220 kB / 0.9528 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.5376, allocations: 10 kB / 0.9528 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.5376, allocations: 12.84 kB / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006549/0.5382, allocations: 242.5 kB / 0.9531 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.5383, allocations: 4.969 kB / 0.9531 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.5383, allocations: 9.062 kB / 0.9531 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.5383, allocations: 3.188 kB / 0.9531 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009895/0.5393, allocations: 293.4 kB / 0.9534 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.5398, allocations: 0.4898 MB / 0.9539 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000649/0.5404, allocations: 253 kB / 0.9541 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005484/0.541, allocations: 196.2 kB / 0.9543 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.541, allocations: 1.5 kB / 0.9543 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.156e-05/0.541, allocations: 35.72 kB / 0.9543 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.112e-06/0.5411, allocations: 0 / 0.9543 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.001615/0.5427, allocations: 0.4946 MB / 0.9548 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.398e-05/0.5427, allocations: 59.16 kB / 0.9549 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.416e-05/0.5428, allocations: 174.7 kB / 0.955 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.5428, allocations: 25.7 kB / 0.9551 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.5429, allocations: 130.7 kB / 0.9552 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.428e-05/0.5429, allocations: 56.25 kB / 0.9552 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-05/0.543, allocations: 27.03 kB / 0.9553 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.795e-05/0.543, allocations: 331.6 kB / 0.9556 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000502/0.5435, allocations: 145.1 kB / 0.9557 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004866/0.544, allocations: 154.4 kB / 0.9559 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000955/0.545, allocations: 302.1 kB / 0.9562 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.545, allocations: 4 kB / 0.9562 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001032/0.546, allocations: 360 kB / 0.9565 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.546, allocations: 7.453 kB / 0.9565 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.546, allocations: 5.812 kB / 0.9565 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.627e-06/0.546, allocations: 0 / 0.9565 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.5464, allocations: 77.64 kB / 0.9566 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.207e-06/0.5464, allocations: 0.75 kB / 0.9566 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.5467, allocations: 58.17 kB / 0.9566 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.5467, allocations: 2.75 kB / 0.9566 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 6.489e-05/0.5468, allocations: 132.7 kB / 0.9568 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.5468, allocations: 19.97 kB / 0.9568 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.5468, allocations: 28.5 kB / 0.9568 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.5468, allocations: 2.75 kB / 0.9568 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.5469, allocations: 0 / 0.9568 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.5469, allocations: 5.359 kB / 0.9568 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.547, allocations: 266.7 kB / 0.9571 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5471, allocations: 0 / 0.9571 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.5474, allocations: 81.41 kB / 0.9572 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5474, allocations: 1.375 kB / 0.9572 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.5474, allocations: 5.312 kB / 0.9572 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5475, allocations: 0 / 0.9572 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5475, allocations: 1.375 kB / 0.9572 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.549, allocations: 0.6315 MB / 0.9578 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.639e-05/0.549, allocations: 97.11 kB / 0.9579 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.5491, allocations: 10.34 kB / 0.9579 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.5494, allocations: 56.14 kB / 0.9579 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.5494, allocations: 19.62 kB / 0.958 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.5495, allocations: 7.281 kB / 0.958 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.575e-05/0.5495, allocations: 136 kB / 0.9581 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5495, allocations: 4 kB / 0.9581 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000241/0.5498, allocations: 38.72 kB / 0.9581 GB, free: 2.422 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.001752/0.5515, allocations: 1.178 MB / 0.9593 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.5526, allocations: 333.5 kB / 0.9596 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.5526, allocations: 1.125 kB / 0.9596 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005026/0.5531, allocations: 169.8 kB / 0.9598 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.5534, allocations: 36.45 kB / 0.9598 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003841/0.5573, allocations: 2.566 MB / 0.9623 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.5575, allocations: 0.7285 MB / 0.963 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.81e-05/0.5576, allocations: 7.562 kB / 0.963 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.5578, allocations: 61.94 kB / 0.9631 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of SimCode: time 1.453e-06/0.5578, allocations: 0 / 0.9631 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2496/0.8073, allocations: 3.937 MB / 0.9669 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/0.8076, allocations: 213.7 kB / 0.9671 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.696, allocations: 4.875 kB / 0.9671 GB, free: 12.47 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate_fmu --startTime=0 --stopTime=480 --timeout=50 --tolerance=1e-06 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.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