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: translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.36/1.36, allocations: 252 MB / 268 MB, free: 10.87 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.001072/0.001072, allocations: 169.9 kB / 327.6 MB, free: 2.102 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.64/1.64, allocations: 205.4 MB / 0.5786 GB, free: 20.16 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.0007316/0.0007315, allocations: 82.36 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003151/0.0003151, allocations: 7.969 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2221, allocations: 106.3 MB / 0.9014 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.005004/0.2272, allocations: 3.914 MB / 0.9053 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00373/0.2309, allocations: 1.578 MB / 0.9068 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007021/0.2317, allocations: 31.81 kB / 0.9068 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003779/0.2321, allocations: 118.9 kB / 0.9069 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008278/0.2329, allocations: 190.7 kB / 0.9071 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.2347, allocations: 0.6162 MB / 0.9077 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001392/0.2361, allocations: 1.14 MB / 0.9088 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008977/0.237, allocations: 480.2 kB / 0.9093 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005879/0.2377, allocations: 357.8 kB / 0.9096 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004512/0.2381, allocations: 353.5 kB / 0.91 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.2382, allocations: 28 kB / 0.91 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.2384, allocations: 24 kB / 0.91 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.2385, allocations: 143.1 kB / 0.9102 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003385/0.2389, allocations: 414.8 kB / 0.9106 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007833/0.2397, allocations: 0.8107 MB / 0.9114 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2397, allocations: 8 kB / 0.9114 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2397, allocations: 0 / 0.9114 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.2397, allocations: 0 / 0.9114 GB, free: 53.25 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.00275/0.2425, allocations: 1.236 MB / 0.9126 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.2425, allocations: 12.03 kB / 0.9126 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/0.2428, allocations: 127.4 kB / 0.9127 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.2443, allocations: 0.7314 MB / 0.9134 GB, free: 51.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.2444, allocations: 84.27 kB / 0.9135 GB, free: 50.97 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.2445, allocations: 72.38 kB / 0.9136 GB, free: 50.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.2463, allocations: 0.7368 MB / 0.9143 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.2464, allocations: 7.922 kB / 0.9143 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.12e-05/0.2465, allocations: 28 kB / 0.9143 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.2465, allocations: 24 kB / 0.9143 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/0.2481, allocations: 0.5244 MB / 0.9149 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004418/0.2525, allocations: 2.306 MB / 0.9171 GB, free: 47.17 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002006/0.2546, allocations: 0.6324 MB / 0.9177 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007589/0.2554, allocations: 282.4 kB / 0.918 GB, free: 46.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.474e-05/0.2554, allocations: 12.55 kB / 0.918 GB, free: 46.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009542/0.2564, allocations: 331 kB / 0.9183 GB, free: 45.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=60): time 5.861e-06/0.2564, allocations: 7.984 kB / 0.9183 GB, free: 45.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60): time 0.002333/0.2588, allocations: 0.7672 MB / 0.9191 GB, free: 45.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.2588, allocations: 85.67 kB / 0.9192 GB, free: 45.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.26, allocations: 0.7636 MB / 0.9199 GB, free: 44.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.765e-05/0.2601, allocations: 37.7 kB / 0.9199 GB, free: 44.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003619/0.2604, allocations: 444.5 kB / 0.9204 GB, free: 43.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.2606, allocations: 209 kB / 0.9206 GB, free: 43.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.2607, allocations: 12 kB / 0.9206 GB, free: 43.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.353e-05/0.2608, allocations: 329.9 kB / 0.9209 GB, free: 43.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006905/0.2615, allocations: 205.2 kB / 0.9211 GB, free: 43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007442/0.2622, allocations: 308.5 kB / 0.9214 GB, free: 42.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.2637, allocations: 0.5192 MB / 0.9219 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.2637, allocations: 0 / 0.9219 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001826/0.2655, allocations: 0.6735 MB / 0.9225 GB, free: 41.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.317e-05/0.2656, allocations: 155.1 kB / 0.9227 GB, free: 41.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.2656, allocations: 3.938 kB / 0.9227 GB, free: 41.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.2657, allocations: 8 kB / 0.9227 GB, free: 41.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.2667, allocations: 151.8 kB / 0.9228 GB, free: 41.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.2667, allocations: 8 kB / 0.9229 GB, free: 41.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006862/0.2674, allocations: 75.34 kB / 0.9229 GB, free: 41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.98e-05/0.2675, allocations: 20 kB / 0.9229 GB, free: 40.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/0.2675, allocations: 4 kB / 0.923 GB, free: 40.98 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001451/0.269, allocations: 0.5245 MB / 0.9235 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.269, allocations: 4 kB / 0.9235 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.674e-06/0.269, allocations: 4 kB / 0.9235 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009484/0.27, allocations: 148 kB / 0.9236 GB, free: 40.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.27, allocations: 7.984 kB / 0.9236 GB, free: 40.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006129/0.2706, allocations: 63.42 kB / 0.9237 GB, free: 40.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.528e-05/0.2707, allocations: 20 kB / 0.9237 GB, free: 40.21 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000437/0.2712, allocations: 297.6 kB / 0.924 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.2713, allocations: 94.78 kB / 0.9241 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/0.2716, allocations: 109.3 kB / 0.9242 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.2716, allocations: 8 kB / 0.9242 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.2716, allocations: 0 / 0.9242 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.2716, allocations: 3.984 kB / 0.9242 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002893/0.2745, allocations: 1.458 MB / 0.9256 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.2746, allocations: 0 / 0.9256 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009139/0.2755, allocations: 119.7 kB / 0.9257 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.2755, allocations: 4 kB / 0.9257 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.769e-05/0.2756, allocations: 19.92 kB / 0.9257 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.2756, allocations: 4 kB / 0.9258 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2756, allocations: 0 / 0.9258 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/0.278, allocations: 0.9821 MB / 0.9267 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003241/0.2784, allocations: 227.7 kB / 0.9269 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.2785, allocations: 12 kB / 0.9269 GB, free: 36.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006939/0.2792, allocations: 39.97 kB / 0.927 GB, free: 36.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.2793, allocations: 32.52 kB / 0.927 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.907e-05/0.2794, allocations: 19.98 kB / 0.927 GB, free: 36.69 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008274/0.2803, allocations: 0.5226 MB / 0.9275 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.91e-07/0.2803, allocations: 0 / 0.9275 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001077/0.2814, allocations: 275 kB / 0.9278 GB, free: 35.89 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 (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.00016/0.2815, allocations: 124.9 kB / 0.9279 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002274/0.2838, allocations: 0.8082 MB / 0.9287 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2838, allocations: 0 / 0.9287 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007291/0.2846, allocations: 275.1 kB / 0.929 GB, free: 34.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/0.2863, allocations: 249.3 kB / 0.9292 GB, free: 34.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003391/0.2897, allocations: 1.969 MB / 0.9311 GB, free: 32.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.2902, allocations: 0.9979 MB / 0.9321 GB, free: 31.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003435/0.2905, allocations: 63.42 kB / 0.9322 GB, free: 31.35 MB / 0.6042 GB Notification: Performance of SimCode: time 1.532e-06/0.2905, allocations: 0 / 0.9322 GB, free: 31.35 MB / 0.6042 GB Notification: Performance of Templates: time 0.01858/0.3091, allocations: 10.84 MB / 0.9428 GB, free: 20.57 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)