Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.289/1.289, 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.0009104/0.0009104, allocations: 178.4 kB / 327.5 MB, free: 2.172 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.638/1.638, allocations: 205.4 MB / 0.5785 GB, free: 20.48 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.0007665/0.0007665, allocations: 89.23 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003744, allocations: 14.25 kB / 0.7974 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2187, allocations: 106.3 MB / 0.9012 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1621/0.3809, allocations: 134.6 MB / 1.033 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.3812, allocations: 83.95 kB / 1.033 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04474/0.426, allocations: 18.59 MB / 1.051 GB, free: 6.559 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.644e-06/0.426, allocations: 0 / 1.051 GB, free: 6.559 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.024e-05/0.4261, allocations: 24 kB / 1.051 GB, free: 6.535 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.002723/0.4288, allocations: 1.27 MB / 1.052 GB, free: 5.211 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4289, allocations: 8.031 kB / 1.052 GB, free: 5.203 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003322/0.4292, allocations: 131.3 kB / 1.052 GB, free: 5.074 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.4305, allocations: 0.6772 MB / 1.053 GB, free: 4.355 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.66e-05/0.4306, allocations: 74.38 kB / 1.053 GB, free: 4.281 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.4307, allocations: 100.4 kB / 1.053 GB, free: 4.184 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.4325, allocations: 0.9792 MB / 1.054 GB, free: 3.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.4325, allocations: 7.922 kB / 1.054 GB, free: 3.152 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.68e-05/0.4326, allocations: 44 kB / 1.054 GB, free: 3.109 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.773e-05/0.4326, allocations: 24 kB / 1.054 GB, free: 3.086 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.434, allocations: 0.7065 MB / 1.055 GB, free: 2.375 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3649/0.799, allocations: 3.41 MB / 1.058 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.8002, allocations: 0.7535 MB / 1.059 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005317/0.8007, allocations: 404.9 kB / 1.059 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.075e-05/0.8008, allocations: 12.36 kB / 1.059 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005969/0.8014, allocations: 372 kB / 1.06 GB, free: 141.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.795e-06/0.8014, allocations: 0 / 1.06 GB, free: 141.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.001456/0.8029, allocations: 0.9073 MB / 1.061 GB, free: 141.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.8029, allocations: 165.3 kB / 1.061 GB, free: 141.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006382/0.8036, allocations: 0.6768 MB / 1.061 GB, free: 141.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/0.8036, allocations: 44.14 kB / 1.061 GB, free: 141 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.8038, allocations: 473.7 kB / 1.062 GB, free: 140.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.804, allocations: 262.6 kB / 1.062 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.804, allocations: 15.09 kB / 1.062 GB, free: 140.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.047e-05/0.8041, allocations: 337.8 kB / 1.062 GB, free: 140.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004344/0.8045, allocations: 259 kB / 1.063 GB, free: 140.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004876/0.805, allocations: 397.5 kB / 1.063 GB, free: 140.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000869/0.8059, allocations: 0.596 MB / 1.064 GB, free: 140.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.8059, allocations: 0 / 1.064 GB, free: 140.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001174/0.8071, allocations: 0.7758 MB / 1.064 GB, free: 140.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.009e-05/0.8072, allocations: 125.9 kB / 1.065 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.8072, allocations: 0.5625 kB / 1.065 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.8072, allocations: 6 kB / 1.065 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005822/0.8078, allocations: 164.8 kB / 1.065 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.8078, allocations: 9.406 kB / 1.065 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003893/0.8082, allocations: 109.9 kB / 1.065 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.8083, allocations: 28.89 kB / 1.065 GB, free: 140 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.95e-06/0.8083, allocations: 4.688 kB / 1.065 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000706/0.809, allocations: 0.5476 MB / 1.065 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.809, allocations: 3.125 kB / 1.065 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.15e-06/0.809, allocations: 8.656 kB / 1.065 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004542/0.8095, allocations: 140.6 kB / 1.066 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.8095, allocations: 4.094 kB / 1.066 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.8098, allocations: 79.66 kB / 1.066 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.026e-05/0.8099, allocations: 21.06 kB / 1.066 GB, free: 140 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,greEquThr.y,intWitRes4.trigger_internal,intWitRes3.trigger_internal,intWitRes2.trigger_internal,intWitRes1.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 94 * 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.0004016/0.8103, allocations: 315.4 kB / 1.066 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.8104, allocations: 87.67 kB / 1.066 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.8105, allocations: 97.88 kB / 1.066 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.8106, allocations: 7.406 kB / 1.066 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/0.8106, allocations: 1.938 kB / 1.066 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.8106, allocations: 3.516 kB / 1.066 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002753/0.8134, allocations: 1.709 MB / 1.068 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.8134, allocations: 3.453 kB / 1.068 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006001/0.814, allocations: 145.6 kB / 1.068 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.814, allocations: 2.688 kB / 1.068 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/0.814, allocations: 15.91 kB / 1.068 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.8141, allocations: 2.875 kB / 1.068 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.8141, allocations: 1.234 kB / 1.068 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/0.816, allocations: 1.138 MB / 1.069 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.8162, allocations: 174.5 kB / 1.069 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.949e-05/0.8163, allocations: 12.91 kB / 1.069 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/0.8166, allocations: 54.97 kB / 1.069 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.8167, allocations: 47.06 kB / 1.069 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.531e-05/0.8168, allocations: 24.66 kB / 1.069 GB, free: 139 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006534/0.8175, allocations: 470.8 kB / 1.07 GB, free: 138.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8175, allocations: 0 / 1.07 GB, free: 138.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007984/0.8183, allocations: 331.7 kB / 1.07 GB, free: 138.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (greEquThr.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001711/0.8184, allocations: 133.3 kB / 1.07 GB, free: 138.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001781/0.8202, allocations: 0.9536 MB / 1.071 GB, free: 138.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.8203, allocations: 5.766 kB / 1.071 GB, free: 138.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005636/0.8208, allocations: 343.7 kB / 1.072 GB, free: 138.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009211/0.8218, allocations: 202.4 kB / 1.072 GB, free: 138.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.8243, allocations: 2.034 MB / 1.074 GB, free: 137.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/0.8248, allocations: 1.02 MB / 1.075 GB, free: 137 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004477/0.8253, allocations: 102.6 kB / 1.075 GB, free: 136.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.8255, allocations: 65.56 kB / 1.075 GB, free: 136.9 MB / 0.698 GB Notification: Performance of SimCode: time 9.42e-07/0.8255, allocations: 1 kB / 1.075 GB, free: 136.9 MB / 0.698 GB Notification: Performance of Templates: time 0.01537/0.8408, allocations: 8.044 MB / 1.083 GB, free: 136.5 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)