Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.008605/0.008605, allocations: 100.3 kB / 15.73 MB, free: 6.484 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.001937/0.001937, allocations: 189 kB / 16.68 MB, free: 6.367 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.661/2.661, allocations: 469.4 MB / 0.7422 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 68.11 kB / 1.064 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2651, allocations: 159.1 MB / 1.22 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002405/0.2675, allocations: 1.097 MB / 1.221 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.2688, allocations: 0.9674 MB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.652e-05/0.2689, allocations: 0 / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.488e-05/0.269, allocations: 15.75 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.2692, allocations: 47.59 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.2694, allocations: 63.91 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002564/0.2697, allocations: 223.4 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.2699, allocations: 76.75 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.27, allocations: 95.67 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.2702, allocations: 111.5 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.248e-05/0.2702, allocations: 20 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.971e-05/0.2703, allocations: 20 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.781e-05/0.2703, allocations: 47.83 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.209e-05/0.2704, allocations: 91.39 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.2707, allocations: 211.1 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2707, allocations: 4 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2707, allocations: 0 / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.2707, allocations: 4 kB / 1.223 GB, free: 11.47 MB / 0.9825 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.001184/0.2719, allocations: 0.5647 MB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.2719, allocations: 12.03 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.641e-05/0.272, allocations: 50.67 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.519e-05/0.272, allocations: 20.8 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.2723, allocations: 228.7 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.2723, allocations: 16.36 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.2724, allocations: 16.31 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007754/0.2731, allocations: 242.5 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2732, allocations: 3.938 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.2732, allocations: 4 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.2732, allocations: 7.938 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.2743, allocations: 291.7 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000679/0.275, allocations: 496.3 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007626/0.2758, allocations: 250.3 kB / 1.225 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006305/0.2764, allocations: 195.5 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.2765, allocations: 3.906 kB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.2765, allocations: 30.56 kB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.2765, allocations: 4 kB / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.001887/0.2784, allocations: 0.4908 MB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.2785, allocations: 51.41 kB / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.2786, allocations: 182.8 kB / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.2786, allocations: 29.7 kB / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.155e-05/0.2787, allocations: 132.3 kB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.006e-05/0.2788, allocations: 63.48 kB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.318e-05/0.2788, allocations: 41.61 kB / 1.226 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.685e-05/0.2789, allocations: 330.8 kB / 1.226 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006131/0.2796, allocations: 147.8 kB / 1.227 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006121/0.2802, allocations: 176.3 kB / 1.227 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.2814, allocations: 294.6 kB / 1.227 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2814, allocations: 0 / 1.227 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001243/0.2826, allocations: 369.1 kB / 1.227 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2826, allocations: 8 kB / 1.227 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.2827, allocations: 3.938 kB / 1.227 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.2827, allocations: 0 / 1.227 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004325/0.2831, allocations: 75.92 kB / 1.227 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.2831, allocations: 4 kB / 1.227 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003132/0.2834, allocations: 59.81 kB / 1.228 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.2835, allocations: 7.984 kB / 1.228 GB, free: 6.406 MB / 0.9825 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 0.000103/0.2836, allocations: 134.7 kB / 1.228 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.2836, allocations: 15.91 kB / 1.228 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/0.2837, allocations: 25.81 kB / 1.228 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2837, allocations: 0 / 1.228 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2837, allocations: 0 / 1.228 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2837, allocations: 3.984 kB / 1.228 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.284, allocations: 273.4 kB / 1.228 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.284, allocations: 0 / 1.228 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004131/0.2844, allocations: 83.84 kB / 1.228 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.2844, allocations: 4 kB / 1.228 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.2844, allocations: 3.938 kB / 1.228 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2844, allocations: 0 / 1.228 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2844, allocations: 0 / 1.228 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.2864, allocations: 0.6294 MB / 1.229 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.2864, allocations: 89.11 kB / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.2865, allocations: 15.94 kB / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.2868, allocations: 51.92 kB / 1.229 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/0.2869, allocations: 23.97 kB / 1.229 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.2869, allocations: 0 / 1.229 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001001/0.287, allocations: 136.3 kB / 1.229 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.287, allocations: 0 / 1.229 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000271/0.2873, allocations: 47.89 kB / 1.229 GB, free: 4.797 MB / 0.9825 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.002176/0.2895, allocations: 1.175 MB / 1.23 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.2907, allocations: 331.6 kB / 1.23 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2908, allocations: 0 / 1.23 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006539/0.2914, allocations: 178 kB / 1.231 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.2918, allocations: 35.91 kB / 1.231 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004717/0.2966, allocations: 2.528 MB / 1.233 GB, free: 464 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.2968, allocations: 0.7279 MB / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001035/0.297, allocations: 17.06 kB / 1.234 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.2971, allocations: 59.36 kB / 1.234 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.2971, allocations: 0 / 1.234 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.3191, allocations: 4.707 MB / 1.239 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.381/7.7, allocations: 3.938 kB / 1.239 GB, free: 11.06 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches