Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001223, allocations: 107.3 kB / 16.36 MB, free: 5.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 193.4 kB / 17.3 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.876/1.876, allocations: 292.3 MB / 0.5496 GB, free: 17.38 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 71.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2338, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.4877/0.7216, allocations: 3.593 MB / 0.7883 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003394/0.725, allocations: 2.095 MB / 0.7904 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004271/0.7255, allocations: 21.22 kB / 0.7904 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004247/0.726, allocations: 165.7 kB / 0.7905 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004991/0.7265, allocations: 163.5 kB / 0.7907 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000957/0.7275, allocations: 489.8 kB / 0.7912 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001085/0.7285, allocations: 1.24 MB / 0.7924 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007725/0.7293, allocations: 0.573 MB / 0.7929 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003513/0.7297, allocations: 440.9 kB / 0.7933 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004149/0.7301, allocations: 482.8 kB / 0.7938 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.7303, allocations: 127.7 kB / 0.7939 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.7305, allocations: 139.1 kB / 0.7941 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.7306, allocations: 256.3 kB / 0.7943 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003062/0.7309, allocations: 0.502 MB / 0.7948 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.732, allocations: 1.438 MB / 0.7962 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.732, allocations: 0 / 0.7962 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.074e-06/0.732, allocations: 1.781 kB / 0.7962 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.73e-05/0.732, allocations: 0.5625 kB / 0.7962 GB, free: 44.53 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002303/0.7343, allocations: 1.408 MB / 0.7976 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.7344, allocations: 6.812 kB / 0.7976 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.7346, allocations: 121.2 kB / 0.7977 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008684/0.7354, allocations: 0.6454 MB / 0.7983 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.932e-05/0.7355, allocations: 65.34 kB / 0.7984 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.7356, allocations: 87.53 kB / 0.7985 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.7371, allocations: 0.817 MB / 0.7993 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.7371, allocations: 2.625 kB / 0.7993 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.198e-05/0.7372, allocations: 36.38 kB / 0.7993 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.7372, allocations: 18.98 kB / 0.7993 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.7384, allocations: 0.6098 MB / 0.7999 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004227/0.7426, allocations: 2.78 MB / 0.8026 GB, free: 40.88 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.7441, allocations: 0.6704 MB / 0.8033 GB, free: 40.63 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006542/0.7447, allocations: 339.4 kB / 0.8036 GB, free: 40.51 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.088e-05/0.7448, allocations: 16.88 kB / 0.8036 GB, free: 40.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007797/0.7456, allocations: 315 kB / 0.8039 GB, free: 40.37 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=59): time 3.085e-06/0.7456, allocations: 0 / 0.8039 GB, free: 40.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59): time 0.001792/0.7474, allocations: 0.7635 MB / 0.8047 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.899e-05/0.7475, allocations: 188.4 kB / 0.8049 GB, free: 39.86 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.7486, allocations: 0.7107 MB / 0.8056 GB, free: 39.55 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.553e-05/0.7487, allocations: 44.28 kB / 0.8056 GB, free: 39.51 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003653/0.749, allocations: 455.1 kB / 0.806 GB, free: 39.15 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.7492, allocations: 201.8 kB / 0.8062 GB, free: 39 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/0.7495, allocations: 134.8 kB / 0.8064 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.7496, allocations: 337.3 kB / 0.8067 GB, free: 38.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006332/0.7502, allocations: 264.6 kB / 0.8069 GB, free: 38.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007009/0.7509, allocations: 443.4 kB / 0.8073 GB, free: 38.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.7521, allocations: 0.6196 MB / 0.808 GB, free: 37.88 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/0.7521, allocations: 5.156 kB / 0.808 GB, free: 37.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001698/0.7538, allocations: 0.8185 MB / 0.8088 GB, free: 37.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.685e-05/0.7538, allocations: 39.75 kB / 0.8088 GB, free: 37.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.7539, allocations: 3.203 kB / 0.8088 GB, free: 37.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.7539, allocations: 7.219 kB / 0.8088 GB, free: 37.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006234/0.7545, allocations: 141.8 kB / 0.8089 GB, free: 37.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.7545, allocations: 7.078 kB / 0.8089 GB, free: 37.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006307/0.7552, allocations: 135.1 kB / 0.8091 GB, free: 37.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.94e-05/0.7552, allocations: 28.61 kB / 0.8091 GB, free: 37.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005929/0.7558, allocations: 364.2 kB / 0.8095 GB, free: 37.22 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004878/0.7563, allocations: 379.3 kB / 0.8098 GB, free: 36.94 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006912/0.757, allocations: 0.5191 MB / 0.8103 GB, free: 36.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.607e-06/0.7571, allocations: 1.219 kB / 0.8103 GB, free: 36.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001234/0.7583, allocations: 0.6918 MB / 0.811 GB, free: 36.26 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.7583, allocations: 39.7 kB / 0.811 GB, free: 36.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.7583, allocations: 3.375 kB / 0.811 GB, free: 36.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.7584, allocations: 7.328 kB / 0.811 GB, free: 36.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/0.7588, allocations: 121.7 kB / 0.8112 GB, free: 36.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.7589, allocations: 6.453 kB / 0.8112 GB, free: 36.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005705/0.7594, allocations: 110.1 kB / 0.8113 GB, free: 36.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-05/0.7595, allocations: 30.09 kB / 0.8113 GB, free: 36.16 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * 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.0002608/0.7598, allocations: 223.2 kB / 0.8115 GB, free: 35.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.7599, allocations: 86.84 kB / 0.8116 GB, free: 35.9 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.7601, allocations: 86.66 kB / 0.8117 GB, free: 35.84 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.7601, allocations: 6.031 kB / 0.8117 GB, free: 35.84 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/0.7602, allocations: 0.6562 kB / 0.8117 GB, free: 35.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.7602, allocations: 7.609 kB / 0.8117 GB, free: 35.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.7612, allocations: 0.7738 MB / 0.8124 GB, free: 35.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.7612, allocations: 0 / 0.8124 GB, free: 35.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005265/0.7617, allocations: 114.8 kB / 0.8126 GB, free: 35.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.7618, allocations: 3.844 kB / 0.8126 GB, free: 35.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.7618, allocations: 15.34 kB / 0.8126 GB, free: 35.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.7618, allocations: 1.438 kB / 0.8126 GB, free: 35.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7618, allocations: 1.219 kB / 0.8126 GB, free: 35.41 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.7635, allocations: 0.8922 MB / 0.8135 GB, free: 35.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.7636, allocations: 164.8 kB / 0.8136 GB, free: 34.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.613e-05/0.7637, allocations: 12.23 kB / 0.8136 GB, free: 34.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000324/0.764, allocations: 47.44 kB / 0.8137 GB, free: 34.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.918e-05/0.7641, allocations: 33.8 kB / 0.8137 GB, free: 34.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.7642, allocations: 17.12 kB / 0.8137 GB, free: 34.84 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006426/0.7648, allocations: 0.4918 MB / 0.8142 GB, free: 34.62 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7648, allocations: 4 kB / 0.8142 GB, free: 34.61 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008593/0.7657, allocations: 303.1 kB / 0.8145 GB, free: 34.53 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * 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.0002191/0.7659, allocations: 122.9 kB / 0.8146 GB, free: 34.43 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001984/0.7679, allocations: 1.034 MB / 0.8156 GB, free: 33.99 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7679, allocations: 0 / 0.8156 GB, free: 33.99 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005286/0.7685, allocations: 278.1 kB / 0.8159 GB, free: 33.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000838/0.7693, allocations: 187 kB / 0.8161 GB, free: 33.84 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.7716, allocations: 1.415 MB / 0.8174 GB, free: 33.07 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005367/0.7721, allocations: 0.9781 MB / 0.8184 GB, free: 32.36 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005221/0.7727, allocations: 99.67 kB / 0.8185 GB, free: 32.34 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.7729, allocations: 63.09 kB / 0.8186 GB, free: 32.33 MB / 0.6544 GB Notification: Performance of SimCode: time 8.52e-07/0.7729, allocations: 1.125 kB / 0.8186 GB, free: 32.33 MB / 0.6544 GB Notification: Performance of Templates: time 0.02248/0.7954, allocations: 9.246 MB / 0.8276 GB, free: 31.88 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)