Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.629/1.629, allocations: 289.9 MB / 297.4 MB, free: 6.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 184.8 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.2 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009089/0.0009088, allocations: 89.52 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.03e-05/2.033e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7256/0.7256, allocations: 116.3 MB / 0.9732 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2167/0.9424, allocations: 146.8 MB / 1.117 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.9427, allocations: 76.58 kB / 1.117 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05584/0.9986, allocations: 19.72 MB / 1.136 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.027e-06/0.9987, allocations: 0 / 1.136 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001505/0.9988, allocations: 27.94 kB / 1.136 GB, free: 15.7 MB / 0.7448 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.00264/1.001, allocations: 1.078 MB / 1.137 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/1.002, allocations: 8.031 kB / 1.137 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005091/1.002, allocations: 126.5 kB / 1.137 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001836/1.004, allocations: 0.7347 MB / 1.138 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/1.004, allocations: 59.7 kB / 1.138 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/1.004, allocations: 43.91 kB / 1.138 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009696/1.005, allocations: 448 kB / 1.138 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/1.006, allocations: 0.621 MB / 1.139 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/1.006, allocations: 7.938 kB / 1.139 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.402e-05/1.006, allocations: 11.88 kB / 1.139 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/1.006, allocations: 16 kB / 1.139 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004025/1.011, allocations: 2.213 MB / 1.141 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/1.012, allocations: 0.5608 MB / 1.142 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/1.012, allocations: 214.5 kB / 1.142 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.87e-05/1.012, allocations: 4.562 kB / 1.142 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005103/1.013, allocations: 278.9 kB / 1.142 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=60): time 3.888e-06/1.013, allocations: 0 / 1.142 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60): time 0.0009673/1.014, allocations: 0.4946 MB / 1.143 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.02e-05/1.014, allocations: 133.1 kB / 1.143 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000832/1.015, allocations: 0.5631 MB / 1.143 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.312e-05/1.015, allocations: 29.7 kB / 1.143 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003652/1.015, allocations: 440.2 kB / 1.144 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/1.015, allocations: 201 kB / 1.144 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/1.015, allocations: 0 / 1.144 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.015, allocations: 330 kB / 1.144 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/1.016, allocations: 165.6 kB / 1.144 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000389/1.016, allocations: 282 kB / 1.145 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003533/1.016, allocations: 202.1 kB / 1.145 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/1.016, allocations: 0 / 1.145 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001015/1.017, allocations: 0.5564 MB / 1.145 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004366/1.018, allocations: 0.8832 MB / 1.146 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/1.018, allocations: 0 / 1.146 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-05/1.018, allocations: 8 kB / 1.146 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008996/1.019, allocations: 159.8 kB / 1.146 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/1.019, allocations: 4 kB / 1.146 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006104/1.02, allocations: 71.48 kB / 1.147 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.484e-05/1.02, allocations: 20 kB / 1.147 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/1.02, allocations: 8.156 kB / 1.147 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008099/1.02, allocations: 445 kB / 1.147 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/1.02, allocations: 7.953 kB / 1.147 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/1.02, allocations: 4 kB / 1.147 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008104/1.021, allocations: 160 kB / 1.147 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/1.021, allocations: 11.94 kB / 1.147 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005378/1.022, allocations: 51.56 kB / 1.147 GB, free: 3.727 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/1.022, allocations: 24 kB / 1.147 GB, free: 3.703 MB / 0.7448 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,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete 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.0001862/1.022, allocations: 126.3 kB / 1.147 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/1.022, allocations: 86.88 kB / 1.147 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/1.022, allocations: 96.83 kB / 1.148 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/1.023, allocations: 8.141 kB / 1.148 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/1.023, allocations: 0 / 1.148 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/1.023, allocations: 10.59 kB / 1.148 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/1.025, allocations: 1.311 MB / 1.149 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.025, allocations: 0 / 1.149 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005884/1.025, allocations: 115.9 kB / 1.149 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/1.025, allocations: 3.953 kB / 1.149 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.392e-05/1.025, allocations: 8 kB / 1.149 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.025, allocations: 0 / 1.149 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.025, allocations: 0 / 1.149 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/1.027, allocations: 0.8694 MB / 1.15 GB, free: 1.012 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000301/1.027, allocations: 223.9 kB / 1.15 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/1.027, allocations: 3.953 kB / 1.15 GB, free: 0.7695 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005136/1.028, allocations: 43.95 kB / 1.15 GB, free: 0.7266 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/1.028, allocations: 40.5 kB / 1.15 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/1.028, allocations: 19.98 kB / 1.15 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005797/1.028, allocations: 435.2 kB / 1.151 GB, free: 252 kB / 0.7448 GB Notification: Performance of sort global known variables: time 2.41e-07/1.028, allocations: 0 / 1.151 GB, free: 252 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008483/1.029, allocations: 264.7 kB / 1.151 GB, free: 15.98 MB / 0.7605 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 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete 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.0002116/1.029, allocations: 112.9 kB / 1.151 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001319/1.031, allocations: 0.7428 MB / 1.152 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.031, allocations: 0 / 1.152 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003771/1.031, allocations: 238 kB / 1.152 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/1.032, allocations: 204 kB / 1.152 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/1.035, allocations: 1.147 MB / 1.153 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005953/1.035, allocations: 1.018 MB / 1.154 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000926/1.036, allocations: 165.9 kB / 1.154 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/1.036, allocations: 51.42 kB / 1.154 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of SimCode: time 3.71e-07/1.036, allocations: 0 / 1.154 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of Templates: time 0.01981/1.056, allocations: 9.711 MB / 1.164 GB, free: 2.77 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)