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.007663/0.007663, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001749/0.001749, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.411/1.411, 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 9.1.3-maint.9.1.x/package.mo): time 2.356/2.356, allocations: 390.2 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 66.02 kB / 0.9505 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2616, allocations: 140.4 MB / 1.088 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.002072/0.2637, allocations: 1.091 MB / 1.089 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.2649, allocations: 0.9571 MB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.253e-05/0.265, allocations: 8 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.249e-05/0.265, allocations: 23.67 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.2652, allocations: 35.66 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.2654, allocations: 71.83 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.2656, allocations: 219.4 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.2658, allocations: 76.53 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.2659, allocations: 91.67 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.2661, allocations: 111.5 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.786e-05/0.2661, allocations: 19.98 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.827e-05/0.2662, allocations: 20 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.723e-05/0.2662, allocations: 39.84 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.083e-05/0.2663, allocations: 95.45 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.2665, allocations: 210 kB / 1.091 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2665, allocations: 0 / 1.091 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2666, allocations: 4 kB / 1.091 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.2666, allocations: 3.984 kB / 1.091 GB, free: 14.9 MB / 0.8575 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.001177/0.2678, allocations: 0.5618 MB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.2678, allocations: 12.03 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.304e-05/0.2679, allocations: 46.73 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.2679, allocations: 16.75 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.2682, allocations: 223.9 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.2682, allocations: 8.375 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.2682, allocations: 20.31 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007699/0.269, allocations: 250.5 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.269, allocations: 3.938 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.2691, allocations: 4 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2691, allocations: 7.938 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.2702, allocations: 287.7 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006487/0.2709, allocations: 0.4884 MB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000769/0.2717, allocations: 246.4 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000643/0.2723, allocations: 193.9 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.2724, allocations: 7.969 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.2724, allocations: 38.5 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.2724, allocations: 0 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17): time 0.002007/0.2744, allocations: 0.4994 MB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.2745, allocations: 51.41 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.2746, allocations: 171.6 kB / 1.094 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.2746, allocations: 29.7 kB / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/0.2747, allocations: 124.3 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.858e-05/0.2748, allocations: 59.11 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-05/0.2748, allocations: 29.7 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.822e-05/0.2749, allocations: 330.8 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006063/0.2756, allocations: 147.8 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005973/0.2762, allocations: 151.8 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.2773, allocations: 306.8 kB / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2773, allocations: 0 / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001271/0.2786, allocations: 353.1 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.2786, allocations: 4 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2787, allocations: 3.938 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.2787, allocations: 0 / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/0.2791, allocations: 87.84 kB / 1.095 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.2791, allocations: 0 / 1.095 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/0.2794, allocations: 59.77 kB / 1.095 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.2794, allocations: 4 kB / 1.095 GB, free: 9.91 MB / 0.8575 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 9.749e-05/0.2795, allocations: 125.8 kB / 1.095 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.2796, allocations: 23.8 kB / 1.095 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.2796, allocations: 25.81 kB / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2796, allocations: 0 / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.2797, allocations: 0 / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.2797, allocations: 7.938 kB / 1.095 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.2799, allocations: 269.4 kB / 1.096 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2799, allocations: 0 / 1.096 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003953/0.2804, allocations: 83.84 kB / 1.096 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.2804, allocations: 4 kB / 1.096 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.2804, allocations: 7.875 kB / 1.096 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2804, allocations: 0 / 1.096 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2804, allocations: 0 / 1.096 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.2823, allocations: 0.6259 MB / 1.096 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.576e-05/0.2824, allocations: 96.88 kB / 1.096 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.2824, allocations: 11.94 kB / 1.096 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/0.2828, allocations: 51.92 kB / 1.096 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.321e-05/0.2829, allocations: 27.91 kB / 1.096 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.2829, allocations: 4 kB / 1.096 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.668e-05/0.283, allocations: 136.4 kB / 1.097 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.283, allocations: 0 / 1.097 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002641/0.2833, allocations: 39.91 kB / 1.097 GB, free: 8.301 MB / 0.8575 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.002229/0.2855, allocations: 1.178 MB / 1.098 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001267/0.2868, allocations: 323.7 kB / 1.098 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2868, allocations: 0 / 1.098 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000615/0.2874, allocations: 181.4 kB / 1.098 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.2879, allocations: 23.98 kB / 1.098 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004887/0.2928, allocations: 2.523 MB / 1.101 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.293, allocations: 0.7279 MB / 1.101 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.195e-05/0.2931, allocations: 5.094 kB / 1.101 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.2933, allocations: 67.41 kB / 1.102 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.2933, allocations: 0 / 1.102 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02135/0.3146, allocations: 4.762 MB / 1.106 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.805/8.12, allocations: 8.531 kB / 1.106 GB, free: 14.52 MB / 0.8731 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) "" Variables in the reference:time,sleRatLim.u,sleRatLim.y Variables in the result:add.u1,add.u2,add.y,add1.u1,add1.u2,add1.y,add2.u1,add2.u2,add2.y,add3.u1,add3.u2,add3.y,add4.u1,add4.u2,add4.y,add5.u1,add5.u2,add5.y,add6.u1,add6.u2,add6.y,der(sleRatLim.y),ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,ramp2.duration,ramp2.height,ramp2.offset,ramp2.startTime,ramp2.y,ramp3.duration,ramp3.height,ramp3.offset,ramp3.startTime,ramp3.y,ramp4.duration,ramp4.height,ramp4.offset,ramp4.startTime,ramp4.y,ramp5.duration,ramp5.height,ramp5.offset,ramp5.startTime,ramp5.y,ramp6.duration,ramp6.height,ramp6.offset,ramp6.startTime,ramp6.y,ramp7.duration,ramp7.height,ramp7.offset,ramp7.startTime,ramp7.y,ramp8.duration,ramp8.height,ramp8.offset,ramp8.startTime,ramp8.y,sleRatLim.Td,sleRatLim.enable,sleRatLim.fallingSlewRate,sleRatLim.raisingSlewRate,sleRatLim.u,sleRatLim.y,time