Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 105.3 kB / 16.36 MB, free: 6.309 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.001156/0.001156, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.428/1.428, 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.842/1.842, allocations: 292.3 MB / 0.5496 GB, free: 17.44 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.001474/0.001474, allocations: 64.38 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3092, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.5022/0.8115, allocations: 3.298 MB / 0.788 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003544/0.815, allocations: 1.703 MB / 0.7897 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006403/0.8157, allocations: 19.28 kB / 0.7897 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004049/0.8162, allocations: 163.6 kB / 0.7899 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00044/0.8167, allocations: 134.5 kB / 0.79 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000489/0.8172, allocations: 347.8 kB / 0.7903 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007821/0.818, allocations: 1.065 MB / 0.7914 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007495/0.8187, allocations: 0.6128 MB / 0.792 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003264/0.8191, allocations: 394 kB / 0.7923 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003086/0.8194, allocations: 456.2 kB / 0.7928 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.8195, allocations: 118.5 kB / 0.7929 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.8196, allocations: 116.1 kB / 0.793 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.8198, allocations: 251.7 kB / 0.7932 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000255/0.82, allocations: 489.9 kB / 0.7937 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008349/0.8209, allocations: 1.32 MB / 0.795 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.8209, allocations: 3.5 kB / 0.795 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.504e-06/0.8209, allocations: 0 / 0.795 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.597e-05/0.8209, allocations: 2.812 kB / 0.795 GB, free: 44.94 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.001956/0.8229, allocations: 1.313 MB / 0.7963 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.8229, allocations: 15.19 kB / 0.7963 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.8231, allocations: 117.9 kB / 0.7964 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007572/0.8238, allocations: 0.6051 MB / 0.797 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.905e-05/0.8239, allocations: 68.69 kB / 0.7971 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.824, allocations: 94.55 kB / 0.7971 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.8253, allocations: 0.8445 MB / 0.798 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.8253, allocations: 3.422 kB / 0.798 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.027e-05/0.8254, allocations: 39.45 kB / 0.798 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.8254, allocations: 27.91 kB / 0.798 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.8265, allocations: 0.5943 MB / 0.7986 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003682/0.8302, allocations: 2.656 MB / 0.8012 GB, free: 41.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.8317, allocations: 1.295 MB / 0.8025 GB, free: 40.51 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006442/0.8323, allocations: 374.6 kB / 0.8028 GB, free: 40.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.805e-05/0.8324, allocations: 7.5 kB / 0.8028 GB, free: 40.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000661/0.8331, allocations: 332.5 kB / 0.8032 GB, free: 40.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=68): time 3.206e-06/0.8331, allocations: 4.906 kB / 0.8032 GB, free: 40.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=68): time 0.001672/0.8348, allocations: 0.7671 MB / 0.8039 GB, free: 39.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.8348, allocations: 166 kB / 0.8041 GB, free: 39.74 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008183/0.8357, allocations: 0.5879 MB / 0.8046 GB, free: 39.47 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.889e-05/0.8357, allocations: 49.12 kB / 0.8047 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/0.8361, allocations: 414.1 kB / 0.8051 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.8362, allocations: 234.3 kB / 0.8053 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.8364, allocations: 116.2 kB / 0.8054 GB, free: 38.87 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.8366, allocations: 387.1 kB / 0.8058 GB, free: 38.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004998/0.8371, allocations: 230.3 kB / 0.806 GB, free: 38.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005664/0.8377, allocations: 334.5 kB / 0.8063 GB, free: 38.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.8387, allocations: 0.493 MB / 0.8068 GB, free: 38.02 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.8387, allocations: 4.938 kB / 0.8068 GB, free: 38.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001295/0.84, allocations: 0.6475 MB / 0.8074 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.84, allocations: 5.156 kB / 0.8075 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.84, allocations: 0.875 kB / 0.8075 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.8401, allocations: 8.578 kB / 0.8075 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005923/0.8407, allocations: 142.4 kB / 0.8076 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/0.8407, allocations: 6.938 kB / 0.8076 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/0.8411, allocations: 91 kB / 0.8077 GB, free: 37.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.8412, allocations: 21.2 kB / 0.8077 GB, free: 37.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000515/0.8417, allocations: 333.1 kB / 0.808 GB, free: 37.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003886/0.8421, allocations: 286.3 kB / 0.8083 GB, free: 37.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005908/0.8427, allocations: 424.2 kB / 0.8087 GB, free: 37.1 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.234e-06/0.8427, allocations: 1.344 kB / 0.8087 GB, free: 37.1 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.000877/0.8436, allocations: 0.5557 MB / 0.8093 GB, free: 36.85 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.8436, allocations: 6.672 kB / 0.8093 GB, free: 36.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.8436, allocations: 1.344 kB / 0.8093 GB, free: 36.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.141e-06/0.8436, allocations: 4 kB / 0.8093 GB, free: 36.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004521/0.8441, allocations: 121.7 kB / 0.8094 GB, free: 36.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.8441, allocations: 11.47 kB / 0.8094 GB, free: 36.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.8444, allocations: 82.3 kB / 0.8095 GB, free: 36.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.8445, allocations: 20.78 kB / 0.8095 GB, free: 36.8 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (limPIDInp.trigger,$whenCondition1,con.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): 81 * Array equations: 0 * Algorithm blocks: 0 * 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.0001827/0.8446, allocations: 219 kB / 0.8097 GB, free: 36.59 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.383e-05/0.8447, allocations: 71.97 kB / 0.8098 GB, free: 36.56 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.8449, allocations: 80.44 kB / 0.8098 GB, free: 36.49 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.8449, allocations: 7.125 kB / 0.8098 GB, free: 36.49 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/0.845, allocations: 0 / 0.8098 GB, free: 36.49 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.845, allocations: 8.938 kB / 0.8099 GB, free: 36.49 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002555/0.8475, allocations: 1.551 MB / 0.8114 GB, free: 35.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.8476, allocations: 6.969 kB / 0.8114 GB, free: 35.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005803/0.8481, allocations: 127.4 kB / 0.8115 GB, free: 35.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.8482, allocations: 3.406 kB / 0.8115 GB, free: 35.7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.05e-05/0.8482, allocations: 14.84 kB / 0.8115 GB, free: 35.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.8482, allocations: 2.906 kB / 0.8115 GB, free: 35.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.8482, allocations: 0 / 0.8115 GB, free: 35.7 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.85, allocations: 0.9716 MB / 0.8125 GB, free: 35.24 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.8501, allocations: 157.3 kB / 0.8126 GB, free: 35.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.463e-05/0.8502, allocations: 17.78 kB / 0.8126 GB, free: 35.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/0.8506, allocations: 43.14 kB / 0.8127 GB, free: 35.07 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.8507, allocations: 35.44 kB / 0.8127 GB, free: 35.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.36e-05/0.8508, allocations: 25.5 kB / 0.8127 GB, free: 35.06 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005884/0.8513, allocations: 421.6 kB / 0.8131 GB, free: 34.87 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.61e-07/0.8514, allocations: 0 / 0.8131 GB, free: 34.87 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008469/0.8522, allocations: 296.7 kB / 0.8134 GB, free: 34.77 MB / 0.6544 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 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000214/0.8524, allocations: 133.1 kB / 0.8135 GB, free: 34.67 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001638/0.8541, allocations: 0.8054 MB / 0.8143 GB, free: 34.43 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.8541, allocations: 1.75 kB / 0.8143 GB, free: 34.43 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005335/0.8546, allocations: 291.1 kB / 0.8146 GB, free: 34.35 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008075/0.8554, allocations: 142.1 kB / 0.8147 GB, free: 34.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.8581, allocations: 1.529 MB / 0.8162 GB, free: 33.46 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000603/0.8587, allocations: 0.9824 MB / 0.8172 GB, free: 32.74 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.8589, allocations: 59.52 kB / 0.8173 GB, free: 32.73 MB / 0.6544 GB Notification: Performance of SimCode: time 1.011e-06/0.8589, allocations: 2.531 kB / 0.8173 GB, free: 32.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.02396/0.8829, allocations: 9.192 MB / 0.8262 GB, free: 31.86 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)