Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SlewRateLimiter,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_SlewRateLimiter",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.001145/0.001145, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 187.2 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.1 MB / 222.5 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.705/1.705, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 75.81 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2463, allocations: 114.5 MB / 0.7837 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter): time 0.002927/0.2493, allocations: 1.16 MB / 0.7848 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.2506, allocations: 0.9643 MB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.309e-05/0.2507, allocations: 8 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.889e-05/0.2508, allocations: 23.67 kB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.251, allocations: 39.53 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.2512, allocations: 75.83 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.2515, allocations: 243.3 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.2517, allocations: 77.16 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.2518, allocations: 107.5 kB / 0.7863 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.252, allocations: 119.5 kB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.944e-05/0.252, allocations: 20 kB / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.543e-05/0.2521, allocations: 20 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.2521, allocations: 51.77 kB / 0.7865 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.2523, allocations: 103.4 kB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.2525, allocations: 251 kB / 0.7868 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2526, allocations: 0 / 0.7868 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.746e-06/0.2526, allocations: 0 / 0.7868 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.2526, allocations: 4 kB / 0.7868 GB, free: 9.98 MB / 0.6075 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.001258/0.2539, allocations: 0.592 MB / 0.7874 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.2539, allocations: 8.031 kB / 0.7874 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.055e-05/0.254, allocations: 46.73 kB / 0.7875 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.312e-05/0.254, allocations: 28.56 kB / 0.7875 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.2543, allocations: 242.8 kB / 0.7877 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.2543, allocations: 12.38 kB / 0.7877 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.2543, allocations: 16.38 kB / 0.7877 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007722/0.2551, allocations: 242 kB / 0.788 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-06/0.2551, allocations: 7.938 kB / 0.788 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.2552, allocations: 4 kB / 0.788 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.2552, allocations: 7.938 kB / 0.788 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.2563, allocations: 295.7 kB / 0.7883 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007576/0.2571, allocations: 0.5158 MB / 0.7888 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007833/0.2579, allocations: 254.4 kB / 0.789 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006539/0.2585, allocations: 169.6 kB / 0.7892 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.2586, allocations: 4 kB / 0.7892 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.2586, allocations: 34.81 kB / 0.7892 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.2586, allocations: 0 / 0.7892 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.001915/0.2605, allocations: 0.5151 MB / 0.7897 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.2606, allocations: 51.41 kB / 0.7898 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.2608, allocations: 209 kB / 0.79 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.2608, allocations: 33.7 kB / 0.79 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.601e-05/0.2609, allocations: 140.3 kB / 0.7901 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.863e-05/0.261, allocations: 51.25 kB / 0.7902 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.931e-05/0.2611, allocations: 37.61 kB / 0.7902 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.2612, allocations: 330.8 kB / 0.7905 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000594/0.2618, allocations: 151.8 kB / 0.7907 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006102/0.2624, allocations: 151.8 kB / 0.7908 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.2635, allocations: 315.1 kB / 0.7911 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2636, allocations: 0 / 0.7911 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00125/0.2648, allocations: 384.9 kB / 0.7915 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.2648, allocations: 4 kB / 0.7915 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.2649, allocations: 3.938 kB / 0.7915 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.2649, allocations: 0 / 0.7915 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/0.2653, allocations: 83.86 kB / 0.7916 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.2653, allocations: 3.984 kB / 0.7916 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.2656, allocations: 51.88 kB / 0.7916 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.2657, allocations: 7.984 kB / 0.7916 GB, free: 4.809 MB / 0.6075 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.0001215/0.2658, allocations: 121.8 kB / 0.7918 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/0.2659, allocations: 27.72 kB / 0.7918 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.861e-05/0.2659, allocations: 34.11 kB / 0.7918 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.2659, allocations: 0 / 0.7918 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2659, allocations: 0 / 0.7918 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.266, allocations: 4 kB / 0.7918 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.2663, allocations: 293.3 kB / 0.7921 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2663, allocations: 0 / 0.7921 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004259/0.2667, allocations: 79.84 kB / 0.7922 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2667, allocations: 0 / 0.7922 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.2667, allocations: 11.94 kB / 0.7922 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.2667, allocations: 0 / 0.7922 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2667, allocations: 0 / 0.7922 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.2687, allocations: 0.6384 MB / 0.7928 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/0.2688, allocations: 96.84 kB / 0.7929 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.2688, allocations: 11.94 kB / 0.7929 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.2692, allocations: 51.98 kB / 0.793 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.38e-05/0.2693, allocations: 27.91 kB / 0.793 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.2693, allocations: 7.984 kB / 0.793 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001346/0.2694, allocations: 152.5 kB / 0.7931 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2694, allocations: 0 / 0.7931 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002745/0.2697, allocations: 43.84 kB / 0.7932 GB, free: 3.137 MB / 0.6075 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.00229/0.272, allocations: 1.196 MB / 0.7944 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.2733, allocations: 327.7 kB / 0.7947 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2733, allocations: 0 / 0.7947 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006146/0.2739, allocations: 182.6 kB / 0.7948 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.2744, allocations: 40.3 kB / 0.7949 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004859/0.2792, allocations: 2.7 MB / 0.7975 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.2795, allocations: 0.7396 MB / 0.7982 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.2796, allocations: 9.078 kB / 0.7982 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.2798, allocations: 63.42 kB / 0.7983 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of SimCode: time 8.11e-07/0.2798, allocations: 0 / 0.7983 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.3033, allocations: 5.018 MB / 0.8032 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/8.294, allocations: 7.062 kB / 0.8032 GB, free: 8.887 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter_res.csv --start-time 0 --stop-time 480 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_SlewRateLimiter.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe 2>&1)