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.0008129/0.0008129, allocations: 95.92 kB / 15.36 MB, free: 0.7344 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.004905/0.004905, allocations: 170.8 kB / 16.27 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.183/1.183, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.059/2.059, allocations: 390.9 MB / 0.6664 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003137, allocations: 16.28 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5053/0.5056, allocations: 142.4 MB / 0.9552 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.0009104/0.5066, allocations: 0.7956 MB / 0.956 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008607/0.5074, allocations: 0.9522 MB / 0.9569 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.254e-05/0.5075, allocations: 1.5 kB / 0.9569 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.5076, allocations: 13.33 kB / 0.9569 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.5077, allocations: 34.62 kB / 0.9569 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.5079, allocations: 56.42 kB / 0.957 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.5081, allocations: 210.8 kB / 0.9572 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.5082, allocations: 66.78 kB / 0.9573 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.754e-05/0.5083, allocations: 78.77 kB / 0.9573 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.5084, allocations: 100.1 kB / 0.9574 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.148e-05/0.5084, allocations: 8.188 kB / 0.9574 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.356e-05/0.5085, allocations: 8.844 kB / 0.9574 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.801e-05/0.5085, allocations: 31.94 kB / 0.9575 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.183e-05/0.5086, allocations: 101.6 kB / 0.9576 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.5087, allocations: 200.2 kB / 0.9578 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5087, allocations: 1.312 kB / 0.9578 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5087, allocations: 0 / 0.9578 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.5087, allocations: 0 / 0.9578 GB, free: 5.77 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.000897/0.5096, allocations: 0.5781 MB / 0.9583 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.5097, allocations: 13.61 kB / 0.9583 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.668e-05/0.5097, allocations: 42.88 kB / 0.9584 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.5098, allocations: 22.28 kB / 0.9584 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.5099, allocations: 224.5 kB / 0.9586 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.5099, allocations: 9.062 kB / 0.9586 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.51, allocations: 12.88 kB / 0.9586 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007104/0.5107, allocations: 290.3 kB / 0.9589 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.5107, allocations: 3.938 kB / 0.9589 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.5107, allocations: 5.062 kB / 0.9589 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.5107, allocations: 3.312 kB / 0.9589 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.5118, allocations: 383.2 kB / 0.9593 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.5123, allocations: 0.495 MB / 0.9598 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007092/0.513, allocations: 299.6 kB / 0.9601 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006115/0.5137, allocations: 239.7 kB / 0.9603 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.5137, allocations: 11.05 kB / 0.9603 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.5137, allocations: 31.31 kB / 0.9603 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.192e-06/0.5137, allocations: 3.938 kB / 0.9603 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.001812/0.5155, allocations: 0.644 MB / 0.961 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.077e-05/0.5156, allocations: 52.59 kB / 0.961 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.5157, allocations: 171.9 kB / 0.9612 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.5157, allocations: 31.11 kB / 0.9612 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.5158, allocations: 127.8 kB / 0.9613 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.5158, allocations: 57.75 kB / 0.9614 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.5158, allocations: 17.69 kB / 0.9614 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.119e-05/0.5159, allocations: 331.7 kB / 0.9617 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005828/0.5165, allocations: 194.8 kB / 0.9619 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005583/0.517, allocations: 198.5 kB / 0.9621 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.5181, allocations: 396.4 kB / 0.9625 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5181, allocations: 0 / 0.9625 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001146/0.5193, allocations: 456.1 kB / 0.9629 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.5193, allocations: 5.406 kB / 0.9629 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.5193, allocations: 7.938 kB / 0.9629 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.5193, allocations: 4.922 kB / 0.9629 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.5197, allocations: 104.1 kB / 0.963 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.5197, allocations: 1.219 kB / 0.963 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.52, allocations: 86.39 kB / 0.9631 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.52, allocations: 6.938 kB / 0.9631 GB, free: 2.367 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.066e-05/0.5201, allocations: 123.9 kB / 0.9632 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.666e-05/0.5202, allocations: 19.55 kB / 0.9632 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.5202, allocations: 29.69 kB / 0.9633 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5202, allocations: 2.125 kB / 0.9633 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5202, allocations: 1.375 kB / 0.9633 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5202, allocations: 0 / 0.9633 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.5204, allocations: 279.4 kB / 0.9635 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5205, allocations: 0 / 0.9635 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/0.5208, allocations: 97.72 kB / 0.9636 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.5208, allocations: 5.125 kB / 0.9636 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.5209, allocations: 9.094 kB / 0.9636 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.5209, allocations: 1.156 kB / 0.9637 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5209, allocations: 0 / 0.9637 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.5227, allocations: 0.7661 MB / 0.9644 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.867e-05/0.5227, allocations: 93.97 kB / 0.9645 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.5228, allocations: 12.84 kB / 0.9645 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/0.5231, allocations: 74.27 kB / 0.9646 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/0.5231, allocations: 23.34 kB / 0.9646 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.5232, allocations: 8 kB / 0.9646 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.893e-05/0.5232, allocations: 140.1 kB / 0.9647 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5232, allocations: 0 / 0.9647 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002397/0.5235, allocations: 42.31 kB / 0.9648 GB, free: 1.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.001961/0.5254, allocations: 1.322 MB / 0.9661 GB, free: 304 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001195/0.5267, allocations: 421.7 kB / 0.9665 GB, free: 152 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5267, allocations: 0 / 0.9665 GB, free: 152 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005992/0.5273, allocations: 222 kB / 0.9667 GB, free: 72 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.5276, allocations: 35.19 kB / 0.9667 GB, free: 52 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00454/0.5322, allocations: 2.813 MB / 0.9695 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.5324, allocations: 0.7286 MB / 0.9702 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.975e-05/0.5325, allocations: 11.22 kB / 0.9702 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.5327, allocations: 58.31 kB / 0.9702 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.5327, allocations: 0 / 0.9702 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.551/3.084, allocations: 3.849 MB / 0.974 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/3.084, allocations: 220.8 kB / 0.9742 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/4.729, allocations: 5.406 kB / 0.9742 GB, free: 11.3 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