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.001561/0.001561, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001842/0.001842, allocations: 193.1 kB / 16.25 MB, free: 6.637 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.329/1.329, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.239/2.239, allocations: 390.2 MB / 0.6644 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 63.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5068/0.5083, allocations: 140.4 MB / 0.9492 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.002004/0.5104, allocations: 1.153 MB / 0.9504 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008239/0.5112, allocations: 0.9569 MB / 0.9513 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.873e-05/0.5113, allocations: 2.625 kB / 0.9513 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.45e-05/0.5113, allocations: 15.86 kB / 0.9513 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.5114, allocations: 27.78 kB / 0.9514 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.5116, allocations: 55.31 kB / 0.9514 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.5118, allocations: 221.9 kB / 0.9516 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.5119, allocations: 76.52 kB / 0.9517 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.032e-05/0.512, allocations: 98.61 kB / 0.9518 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.53e-05/0.5121, allocations: 108.1 kB / 0.9519 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.5121, allocations: 19.22 kB / 0.9519 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.74e-05/0.5122, allocations: 18.62 kB / 0.9519 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.846e-05/0.5122, allocations: 44.81 kB / 0.952 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.493e-05/0.5123, allocations: 85.52 kB / 0.952 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.5124, allocations: 214.4 kB / 0.9523 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.5124, allocations: 7.922 kB / 0.9523 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.462e-06/0.5124, allocations: 0 / 0.9523 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.5124, allocations: 5.219 kB / 0.9523 GB, free: 6.676 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.0008868/0.5133, allocations: 0.5507 MB / 0.9528 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.5134, allocations: 12.91 kB / 0.9528 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/0.5134, allocations: 46.98 kB / 0.9529 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.5135, allocations: 23.66 kB / 0.9529 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.5136, allocations: 223.5 kB / 0.9531 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.5136, allocations: 9.281 kB / 0.9531 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.5137, allocations: 13.19 kB / 0.9531 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006457/0.5143, allocations: 239.8 kB / 0.9533 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.5143, allocations: 3.938 kB / 0.9534 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.5144, allocations: 5.438 kB / 0.9534 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.5144, allocations: 2.906 kB / 0.9534 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009408/0.5153, allocations: 293.8 kB / 0.9536 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000521/0.5158, allocations: 493.1 kB / 0.9541 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000623/0.5165, allocations: 253.2 kB / 0.9543 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005284/0.517, allocations: 193.6 kB / 0.9545 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.517, allocations: 6.609 kB / 0.9545 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.404e-05/0.5171, allocations: 35.62 kB / 0.9546 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.5171, allocations: 3.938 kB / 0.9546 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.001566/0.5186, allocations: 0.5002 MB / 0.9551 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/0.5187, allocations: 57.69 kB / 0.9551 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.5188, allocations: 171.9 kB / 0.9553 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.5188, allocations: 30.67 kB / 0.9553 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.5188, allocations: 132 kB / 0.9554 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.5189, allocations: 46.55 kB / 0.9555 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.5189, allocations: 35.27 kB / 0.9555 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.823e-05/0.519, allocations: 330.6 kB / 0.9558 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004764/0.5195, allocations: 147.9 kB / 0.956 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004692/0.5199, allocations: 149.2 kB / 0.9561 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009207/0.5209, allocations: 298.2 kB / 0.9564 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5209, allocations: 0 / 0.9564 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009875/0.5219, allocations: 366.2 kB / 0.9568 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.5219, allocations: 5.5 kB / 0.9568 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.5219, allocations: 3.938 kB / 0.9568 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.5219, allocations: 5.359 kB / 0.9568 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/0.5223, allocations: 73.42 kB / 0.9568 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.5223, allocations: 1.375 kB / 0.9568 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.5225, allocations: 58.11 kB / 0.9569 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.5225, allocations: 6.75 kB / 0.9569 GB, free: 3.348 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.948e-05/0.5226, allocations: 124.7 kB / 0.957 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.5227, allocations: 26.42 kB / 0.957 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.647e-05/0.5227, allocations: 25.84 kB / 0.9571 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5227, allocations: 2.688 kB / 0.9571 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.5227, allocations: 0 / 0.9571 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.5227, allocations: 0 / 0.9571 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.5229, allocations: 271.7 kB / 0.9573 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.5229, allocations: 0 / 0.9573 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003453/0.5233, allocations: 81.69 kB / 0.9574 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.5233, allocations: 5.344 kB / 0.9574 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.5233, allocations: 7.938 kB / 0.9574 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.5233, allocations: 1.281 kB / 0.9574 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5233, allocations: 1.531 kB / 0.9574 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.5249, allocations: 0.624 MB / 0.958 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.652e-05/0.5249, allocations: 97.25 kB / 0.9581 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.525, allocations: 9.188 kB / 0.9581 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002878/0.5252, allocations: 56.8 kB / 0.9582 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.883e-05/0.5253, allocations: 23.16 kB / 0.9582 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.5253, allocations: 3.938 kB / 0.9582 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.405e-05/0.5254, allocations: 135.6 kB / 0.9583 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5254, allocations: 3.938 kB / 0.9583 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000239/0.5257, allocations: 38.5 kB / 0.9584 GB, free: 2.223 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.001727/0.5274, allocations: 1.182 MB / 0.9595 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.5285, allocations: 336.7 kB / 0.9599 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5285, allocations: 0 / 0.9599 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005153/0.529, allocations: 175.6 kB / 0.96 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.5294, allocations: 33.31 kB / 0.9601 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003844/0.5332, allocations: 2.569 MB / 0.9626 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.5334, allocations: 0.7281 MB / 0.9633 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.312e-05/0.5335, allocations: 11.2 kB / 0.9633 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.5336, allocations: 56.64 kB / 0.9633 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.5336, allocations: 0 / 0.9633 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9036/1.437, allocations: 4.077 MB / 0.9673 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002495/1.438, allocations: 218.3 kB / 0.9675 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.178/3.615, allocations: 0 / 0.9675 GB, free: 12.2 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