Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.34/2.34, allocations: 251.1 MB / 266.7 MB, free: 11.58 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.001453/0.001452, allocations: 180.8 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.382/2.382, allocations: 205.4 MB / 0.5772 GB, free: 20.73 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.001004/0.001004, allocations: 87.3 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005013/0.0005014, allocations: 14.78 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2275, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2277/0.4553, allocations: 134.4 MB / 1.031 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/0.4557, allocations: 83.95 kB / 1.031 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07552/0.5312, allocations: 18.56 MB / 1.049 GB, free: 8.227 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.465e-06/0.5313, allocations: 0 / 1.049 GB, free: 8.227 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001323/0.5314, allocations: 32.11 kB / 1.049 GB, free: 8.195 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.003746/0.5352, allocations: 1.276 MB / 1.05 GB, free: 6.867 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.5352, allocations: 8.031 kB / 1.05 GB, free: 6.859 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000487/0.5357, allocations: 131.3 kB / 1.05 GB, free: 6.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.5377, allocations: 0.6544 MB / 1.051 GB, free: 6.035 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.5378, allocations: 74.38 kB / 1.051 GB, free: 5.961 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/0.5381, allocations: 104.3 kB / 1.051 GB, free: 5.859 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/0.5409, allocations: 0.9754 MB / 1.052 GB, free: 4.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/0.541, allocations: 3.938 kB / 1.052 GB, free: 4.836 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/0.5411, allocations: 44 kB / 1.052 GB, free: 4.793 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-05/0.5411, allocations: 24 kB / 1.052 GB, free: 4.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002569/0.5437, allocations: 0.7143 MB / 1.053 GB, free: 4.051 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007778/0.5515, allocations: 3.407 MB / 1.056 GB, free: 0.543 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5978/1.149, allocations: 0.7548 MB / 1.057 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001291/1.151, allocations: 405.1 kB / 1.057 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.561e-05/1.151, allocations: 11.12 kB / 1.057 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001189/1.152, allocations: 372.8 kB / 1.058 GB, free: 144.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 4.088e-06/1.152, allocations: 0 / 1.058 GB, free: 144.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.003153/1.155, allocations: 0.9138 MB / 1.059 GB, free: 144.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.441e-05/1.155, allocations: 165.8 kB / 1.059 GB, free: 144.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/1.157, allocations: 0.6751 MB / 1.059 GB, free: 144 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001417/1.157, allocations: 42.67 kB / 1.059 GB, free: 144 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003709/1.157, allocations: 464.4 kB / 1.06 GB, free: 143.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002446/1.157, allocations: 264.1 kB / 1.06 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/1.158, allocations: 16.06 kB / 1.06 GB, free: 143.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.634e-05/1.158, allocations: 340.9 kB / 1.061 GB, free: 143.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008756/1.159, allocations: 255.3 kB / 1.061 GB, free: 143.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/1.16, allocations: 394.7 kB / 1.061 GB, free: 143.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009426/1.161, allocations: 298.5 kB / 1.061 GB, free: 143.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/1.161, allocations: 0.5625 kB / 1.061 GB, free: 143.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002281/1.163, allocations: 0.7748 MB / 1.062 GB, free: 143.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.891e-05/1.163, allocations: 127.6 kB / 1.062 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/1.163, allocations: 1.859 kB / 1.062 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/1.163, allocations: 5.844 kB / 1.062 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/1.164, allocations: 165.2 kB / 1.062 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/1.164, allocations: 12.31 kB / 1.062 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00082/1.165, allocations: 110.7 kB / 1.063 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.337e-05/1.165, allocations: 23.38 kB / 1.063 GB, free: 143 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/1.165, allocations: 5.844 kB / 1.063 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001277/1.166, allocations: 0.5507 MB / 1.063 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/1.166, allocations: 2.438 kB / 1.063 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/1.167, allocations: 6 kB / 1.063 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000983/1.167, allocations: 137.8 kB / 1.063 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/1.168, allocations: 2.938 kB / 1.063 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006658/1.168, allocations: 87.56 kB / 1.063 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-05/1.168, allocations: 20.78 kB / 1.063 GB, free: 143 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.0006173/1.169, allocations: 312.7 kB / 1.064 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/1.169, allocations: 88.23 kB / 1.064 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/1.169, allocations: 97.2 kB / 1.064 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/1.169, allocations: 8.828 kB / 1.064 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/1.169, allocations: 6.625 kB / 1.064 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/1.169, allocations: 3.984 kB / 1.064 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004085/1.173, allocations: 1.698 MB / 1.066 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/1.174, allocations: 0.5625 kB / 1.066 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/1.175, allocations: 145 kB / 1.066 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-05/1.175, allocations: 7 kB / 1.066 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.811e-05/1.175, allocations: 17.89 kB / 1.066 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/1.175, allocations: 4.531 kB / 1.066 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.175, allocations: 0.5625 kB / 1.066 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003507/1.178, allocations: 1.148 MB / 1.067 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/1.179, allocations: 166.3 kB / 1.067 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/1.179, allocations: 15.39 kB / 1.067 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007165/1.18, allocations: 55.97 kB / 1.067 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/1.18, allocations: 42.02 kB / 1.067 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.785e-05/1.18, allocations: 24 kB / 1.067 GB, free: 142 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001012/1.181, allocations: 469.9 kB / 1.068 GB, free: 141.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.31e-07/1.181, allocations: 0.7812 kB / 1.068 GB, free: 141.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001289/1.182, allocations: 329.8 kB / 1.068 GB, free: 141.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.0002666/1.183, allocations: 137.6 kB / 1.068 GB, free: 141.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003175/1.186, allocations: 0.9479 MB / 1.069 GB, free: 141.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.186, allocations: 4.969 kB / 1.069 GB, free: 141.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001148/1.187, allocations: 335.6 kB / 1.069 GB, free: 141.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/1.189, allocations: 208.2 kB / 1.069 GB, free: 141.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004802/1.194, allocations: 2.038 MB / 1.071 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007739/1.194, allocations: 1.024 MB / 1.072 GB, free: 140 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008593/1.195, allocations: 104.2 kB / 1.073 GB, free: 140 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003664/1.196, allocations: 66.16 kB / 1.073 GB, free: 139.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.222e-06/1.196, allocations: 1.219 kB / 1.073 GB, free: 139.9 MB / 0.698 GB Notification: Performance of Templates: time 0.02891/1.225, allocations: 7.949 MB / 1.08 GB, free: 139.5 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)