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.313/1.313, allocations: 252 MB / 267.9 MB, free: 10.92 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.0009984/0.0009986, allocations: 178.8 kB / 327.6 MB, free: 2.137 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.537/1.537, allocations: 205.4 MB / 0.5785 GB, free: 20.2 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.0007924/0.0007927, allocations: 78.06 kB / 0.6831 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003586, allocations: 14.44 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1919, allocations: 106.3 MB / 0.9012 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1605/0.3525, allocations: 140.3 MB / 1.038 GB, free: 3.262 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.3527, allocations: 87.95 kB / 1.038 GB, free: 3.176 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3681/0.7209, allocations: 19.96 MB / 1.058 GB, free: 143.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.735e-06/0.7209, allocations: 4.875 kB / 1.058 GB, free: 143.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.222e-05/0.721, allocations: 24.64 kB / 1.058 GB, free: 143.2 MB / 0.698 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.00198/0.723, allocations: 1.244 MB / 1.059 GB, free: 142.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.723, allocations: 11.44 kB / 1.059 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.7232, allocations: 119.5 kB / 1.059 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.7243, allocations: 0.7773 MB / 1.06 GB, free: 142.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.057e-05/0.7244, allocations: 79.58 kB / 1.06 GB, free: 142.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.544e-05/0.7245, allocations: 70.12 kB / 1.06 GB, free: 142.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.7256, allocations: 0.7929 MB / 1.061 GB, free: 141.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.7256, allocations: 0 / 1.061 GB, free: 141.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.855e-05/0.7257, allocations: 29.88 kB / 1.061 GB, free: 141.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.7257, allocations: 16.62 kB / 1.061 GB, free: 141.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.7267, allocations: 0.566 MB / 1.061 GB, free: 141.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00303/0.7298, allocations: 2.351 MB / 1.064 GB, free: 141.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.7311, allocations: 0.6851 MB / 1.064 GB, free: 141.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004556/0.7315, allocations: 259.8 kB / 1.065 GB, free: 141.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.071e-05/0.7316, allocations: 11.3 kB / 1.065 GB, free: 141.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006494/0.7323, allocations: 352.7 kB / 1.065 GB, free: 141 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 2.886e-06/0.7323, allocations: 0.5625 kB / 1.065 GB, free: 141 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.001493/0.7338, allocations: 0.8271 MB / 1.066 GB, free: 140.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.7338, allocations: 135.7 kB / 1.066 GB, free: 140.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008283/0.7347, allocations: 0.763 MB / 1.067 GB, free: 140.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.883e-05/0.7347, allocations: 38.92 kB / 1.067 GB, free: 140.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/0.735, allocations: 442.6 kB / 1.067 GB, free: 140.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.7352, allocations: 200.3 kB / 1.067 GB, free: 140.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.7352, allocations: 17.02 kB / 1.067 GB, free: 140.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.502e-05/0.7353, allocations: 329.5 kB / 1.068 GB, free: 140 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000497/0.7358, allocations: 229.1 kB / 1.068 GB, free: 140 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005671/0.7364, allocations: 340.9 kB / 1.068 GB, free: 139.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.7374, allocations: 0.5478 MB / 1.069 GB, free: 139.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.7375, allocations: 1.156 kB / 1.069 GB, free: 139.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001355/0.7388, allocations: 0.6985 MB / 1.069 GB, free: 139.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.165e-05/0.7389, allocations: 152.9 kB / 1.07 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.7389, allocations: 1.812 kB / 1.07 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.7389, allocations: 10.98 kB / 1.07 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008568/0.7398, allocations: 161.2 kB / 1.07 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.7398, allocations: 7.5 kB / 1.07 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004937/0.7403, allocations: 95.06 kB / 1.07 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.244e-05/0.7404, allocations: 21.08 kB / 1.07 GB, free: 139.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.863e-06/0.7404, allocations: 4.406 kB / 1.07 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001094/0.7415, allocations: 0.5551 MB / 1.07 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.7415, allocations: 3.516 kB / 1.07 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.7415, allocations: 5.531 kB / 1.07 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007554/0.7423, allocations: 156.6 kB / 1.071 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.7423, allocations: 5.875 kB / 1.071 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004471/0.7428, allocations: 75.8 kB / 1.071 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.7428, allocations: 20.34 kB / 1.071 GB, free: 139.4 MB / 0.698 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 () * 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.000364/0.7432, allocations: 297.9 kB / 1.071 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.7433, allocations: 96.16 kB / 1.071 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.7435, allocations: 104.6 kB / 1.071 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.7435, allocations: 6.188 kB / 1.071 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.7436, allocations: 0.75 kB / 1.071 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.7436, allocations: 3.609 kB / 1.071 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.746, allocations: 1.535 MB / 1.073 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.746, allocations: 0.875 kB / 1.073 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005781/0.7466, allocations: 109.7 kB / 1.073 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.7466, allocations: 1.531 kB / 1.073 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/0.7467, allocations: 19.94 kB / 1.073 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.7467, allocations: 2.875 kB / 1.073 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7467, allocations: 0.5156 kB / 1.073 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.7486, allocations: 1.037 MB / 1.074 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.7489, allocations: 238.2 kB / 1.074 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.775e-05/0.749, allocations: 16.77 kB / 1.074 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004832/0.7495, allocations: 49.5 kB / 1.074 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.7496, allocations: 34.56 kB / 1.074 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.808e-05/0.7497, allocations: 24.06 kB / 1.074 GB, free: 138.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007581/0.7504, allocations: 0.5178 MB / 1.075 GB, free: 138.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7504, allocations: 0.7188 kB / 1.075 GB, free: 138.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008259/0.7513, allocations: 287.9 kB / 1.075 GB, free: 138.2 MB / 0.698 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 () * 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.0001737/0.7514, allocations: 132.2 kB / 1.075 GB, free: 138.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001748/0.7532, allocations: 0.8656 MB / 1.076 GB, free: 138.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.7532, allocations: 0 / 1.076 GB, free: 138.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005373/0.7538, allocations: 295.3 kB / 1.076 GB, free: 138.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.7549, allocations: 236.7 kB / 1.076 GB, free: 138.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.7578, allocations: 1.839 MB / 1.078 GB, free: 137.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.7584, allocations: 0.9938 MB / 1.079 GB, free: 136.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006718/0.7591, allocations: 117.3 kB / 1.079 GB, free: 136.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.7593, allocations: 62.31 kB / 1.079 GB, free: 136.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.252e-06/0.7593, allocations: 0 / 1.079 GB, free: 136.4 MB / 0.698 GB Notification: Performance of Templates: time 0.01774/0.777, allocations: 9.262 MB / 1.088 GB, free: 135.9 MB / 0.698 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)