Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.628/1.628, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001182/0.001181, allocations: 179.2 kB / 326.6 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.921/1.921, allocations: 205.4 MB / 0.5776 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009684/0.0009683, allocations: 96.92 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 9.625 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2406, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.003623/0.2442, allocations: 3.687 MB / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002496/0.2468, allocations: 1.555 MB / 0.9054 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005605/0.2474, allocations: 35.81 kB / 0.9054 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.2476, allocations: 118.8 kB / 0.9056 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005056/0.2482, allocations: 166.8 kB / 0.9057 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.2492, allocations: 0.5177 MB / 0.9062 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00076/0.25, allocations: 1.05 MB / 0.9073 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004377/0.2504, allocations: 347.4 kB / 0.9076 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000307/0.2507, allocations: 346 kB / 0.9079 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000277/0.251, allocations: 337.8 kB / 0.9082 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.349e-05/0.2511, allocations: 24 kB / 0.9083 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.896e-05/0.2512, allocations: 32 kB / 0.9083 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.776e-05/0.2513, allocations: 131.2 kB / 0.9084 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.2514, allocations: 173.1 kB / 0.9086 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005114/0.2519, allocations: 0.8146 MB / 0.9094 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2519, allocations: 0 / 0.9094 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2519, allocations: 4 kB / 0.9094 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.2519, allocations: 0 / 0.9094 GB, free: 54.45 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001974/0.2539, allocations: 1.247 MB / 0.9106 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.254, allocations: 8.031 kB / 0.9106 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001196/0.2541, allocations: 114.5 kB / 0.9107 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.2542, allocations: 130.5 kB / 0.9108 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009718/0.2552, allocations: 0.6957 MB / 0.9115 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.24e-05/0.2553, allocations: 83.7 kB / 0.9116 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.087e-05/0.2554, allocations: 68 kB / 0.9117 GB, free: 52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.2565, allocations: 0.7328 MB / 0.9124 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.2565, allocations: 3.938 kB / 0.9124 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.644e-05/0.2566, allocations: 31.98 kB / 0.9124 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.2566, allocations: 16 kB / 0.9124 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009615/0.2576, allocations: 0.5204 MB / 0.9129 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002752/0.2603, allocations: 2.298 MB / 0.9152 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.2616, allocations: 0.636 MB / 0.9158 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004449/0.262, allocations: 271.1 kB / 0.9161 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.873e-05/0.2621, allocations: 12.55 kB / 0.9161 GB, free: 47.37 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000618/0.2627, allocations: 331 kB / 0.9164 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=60): time 2.826e-06/0.2627, allocations: 0 / 0.9164 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60): time 0.001413/0.2642, allocations: 0.7676 MB / 0.9171 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.2642, allocations: 85.84 kB / 0.9172 GB, free: 46.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006843/0.2649, allocations: 0.7558 MB / 0.918 GB, free: 45.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.467e-05/0.265, allocations: 41.69 kB / 0.918 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000255/0.2652, allocations: 440.5 kB / 0.9184 GB, free: 44.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.2654, allocations: 205 kB / 0.9186 GB, free: 44.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.2654, allocations: 16 kB / 0.9186 GB, free: 44.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.232e-05/0.2655, allocations: 326 kB / 0.9189 GB, free: 44.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/0.2659, allocations: 213.1 kB / 0.9191 GB, free: 44.15 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004348/0.2663, allocations: 312.4 kB / 0.9194 GB, free: 43.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004456/0.2668, allocations: 230.2 kB / 0.9197 GB, free: 43.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.2668, allocations: 4 kB / 0.9197 GB, free: 43.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001157/0.268, allocations: 0.6617 MB / 0.9203 GB, free: 42.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.814e-05/0.268, allocations: 159.2 kB / 0.9205 GB, free: 42.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.268, allocations: 0 / 0.9205 GB, free: 42.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.2681, allocations: 11.95 kB / 0.9205 GB, free: 42.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006195/0.2687, allocations: 143.8 kB / 0.9206 GB, free: 42.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.2687, allocations: 4 kB / 0.9206 GB, free: 42.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.2691, allocations: 83.34 kB / 0.9207 GB, free: 42.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/0.2692, allocations: 27.97 kB / 0.9207 GB, free: 42.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.22e-06/0.2692, allocations: 7.938 kB / 0.9207 GB, free: 42.45 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000858/0.2701, allocations: 0.5207 MB / 0.9212 GB, free: 41.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.2701, allocations: 0 / 0.9212 GB, free: 41.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-06/0.2701, allocations: 8 kB / 0.9212 GB, free: 41.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000561/0.2707, allocations: 139.8 kB / 0.9214 GB, free: 41.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2707, allocations: 4 kB / 0.9214 GB, free: 41.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004034/0.2711, allocations: 79.53 kB / 0.9215 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.2711, allocations: 16 kB / 0.9215 GB, free: 41.68 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003017/0.2714, allocations: 297 kB / 0.9218 GB, free: 41.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.313e-05/0.2715, allocations: 94.78 kB / 0.9218 GB, free: 41.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.2717, allocations: 101.3 kB / 0.9219 GB, free: 41.19 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.2717, allocations: 11.98 kB / 0.922 GB, free: 41.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.2717, allocations: 0 / 0.922 GB, free: 41.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.2717, allocations: 0 / 0.922 GB, free: 41.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.2735, allocations: 1.458 MB / 0.9234 GB, free: 39.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2735, allocations: 0 / 0.9234 GB, free: 39.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005253/0.2741, allocations: 111.8 kB / 0.9235 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.2741, allocations: 0 / 0.9235 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/0.2741, allocations: 16 kB / 0.9235 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.2741, allocations: 4 kB / 0.9235 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2741, allocations: 0 / 0.9235 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.2756, allocations: 0.9823 MB / 0.9245 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/0.2758, allocations: 219.8 kB / 0.9247 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.086e-05/0.2759, allocations: 12 kB / 0.9247 GB, free: 38.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004307/0.2763, allocations: 51.98 kB / 0.9247 GB, free: 38.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.494e-05/0.2764, allocations: 36.5 kB / 0.9248 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.2764, allocations: 19.98 kB / 0.9248 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005138/0.2769, allocations: 0.5109 MB / 0.9253 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.3e-07/0.277, allocations: 0 / 0.9253 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006346/0.2776, allocations: 275 kB / 0.9255 GB, free: 37.39 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001684/0.2793, allocations: 1.544 MB / 0.9271 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001471/0.2808, allocations: 0.8002 MB / 0.9278 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2808, allocations: 0 / 0.9278 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004408/0.2812, allocations: 271.1 kB / 0.9281 GB, free: 34.76 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.2824, allocations: 254.1 kB / 0.9283 GB, free: 34.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0071/0.2895, allocations: 5.136 MB / 0.9334 GB, free: 29.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.29, allocations: 0.9901 MB / 0.9343 GB, free: 28.13 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006309/0.2906, allocations: 122.8 kB / 0.9344 GB, free: 28.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004482/0.2911, allocations: 347.3 kB / 0.9348 GB, free: 27.67 MB / 0.6042 GB Notification: Performance of SimCode: time 1.282e-06/0.2911, allocations: 0 / 0.9348 GB, free: 27.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/0.3174, allocations: 16.57 MB / 0.9509 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/0.3176, allocations: 199.2 kB / 0.9511 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/2.852, allocations: 2.531 kB / 0.9511 GB, free: 11.08 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)