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.001071/0.001071, allocations: 106.4 kB / 16.35 MB, free: 5.879 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.001135/0.001135, allocations: 192.4 kB / 17.29 MB, free: 5.516 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.458/1.458, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.909/1.909, allocations: 292.3 MB / 0.5496 GB, free: 17.49 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.001706/0.001707, allocations: 71.91 kB / 0.6729 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2258, 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.4357/0.6616, allocations: 3.296 MB / 0.788 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002731/0.6644, allocations: 1.713 MB / 0.7897 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005043/0.6649, allocations: 18.41 kB / 0.7897 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.6653, allocations: 153.7 kB / 0.7898 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004176/0.6658, allocations: 141.9 kB / 0.79 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.6662, allocations: 345.7 kB / 0.7903 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007258/0.667, allocations: 1.068 MB / 0.7914 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006998/0.6677, allocations: 0.6033 MB / 0.7919 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003091/0.668, allocations: 400.4 kB / 0.7923 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.6683, allocations: 452.2 kB / 0.7928 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.6684, allocations: 118.9 kB / 0.7929 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.6685, allocations: 115 kB / 0.793 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.6687, allocations: 251 kB / 0.7932 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002588/0.669, allocations: 493 kB / 0.7937 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008282/0.6698, allocations: 1.321 MB / 0.795 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6698, allocations: 0 / 0.795 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6698, allocations: 0.9688 kB / 0.795 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.844e-05/0.6698, allocations: 0 / 0.795 GB, free: 44.98 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.00205/0.6719, allocations: 1.323 MB / 0.7963 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.6719, allocations: 9.938 kB / 0.7963 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.6721, allocations: 116.2 kB / 0.7964 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007554/0.6729, allocations: 0.5939 MB / 0.797 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/0.6729, allocations: 70.97 kB / 0.797 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.6731, allocations: 95.48 kB / 0.7971 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.6743, allocations: 0.8462 MB / 0.798 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.6744, allocations: 192 / 0.798 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.447e-05/0.6745, allocations: 42.31 kB / 0.798 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.6745, allocations: 26.48 kB / 0.798 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.6756, allocations: 0.5955 MB / 0.7986 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003571/0.6791, allocations: 2.655 MB / 0.8012 GB, free: 41.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.6805, allocations: 1.292 MB / 0.8025 GB, free: 40.54 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006093/0.6811, allocations: 377.4 kB / 0.8028 GB, free: 40.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.831e-05/0.6812, allocations: 11.48 kB / 0.8028 GB, free: 40.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007124/0.6819, allocations: 332.2 kB / 0.8031 GB, free: 40.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=68): time 4.088e-06/0.6819, allocations: 0 / 0.8031 GB, free: 40.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=68): time 0.001568/0.6835, allocations: 0.7701 MB / 0.8039 GB, free: 39.96 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.6836, allocations: 162.8 kB / 0.8041 GB, free: 39.78 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007968/0.6844, allocations: 0.5887 MB / 0.8046 GB, free: 39.51 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.489e-05/0.6844, allocations: 47.84 kB / 0.8047 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.6847, allocations: 414.4 kB / 0.8051 GB, free: 39.14 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.6849, allocations: 232.6 kB / 0.8053 GB, free: 38.96 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.6851, allocations: 116.4 kB / 0.8054 GB, free: 38.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.6852, allocations: 387.3 kB / 0.8058 GB, free: 38.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005034/0.6857, allocations: 229.9 kB / 0.806 GB, free: 38.47 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/0.6863, allocations: 335 kB / 0.8063 GB, free: 38.28 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009208/0.6872, allocations: 0.4994 MB / 0.8068 GB, free: 38.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.6872, allocations: 0.5938 kB / 0.8068 GB, free: 38.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001231/0.6884, allocations: 0.6475 MB / 0.8074 GB, free: 37.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.6885, allocations: 5.969 kB / 0.8074 GB, free: 37.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.6885, allocations: 4.906 kB / 0.8074 GB, free: 37.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.6885, allocations: 4.75 kB / 0.8074 GB, free: 37.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005892/0.6891, allocations: 143.3 kB / 0.8076 GB, free: 37.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.6891, allocations: 3.891 kB / 0.8076 GB, free: 37.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/0.6895, allocations: 91.77 kB / 0.8077 GB, free: 37.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.124e-05/0.6896, allocations: 20.14 kB / 0.8077 GB, free: 37.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004802/0.6901, allocations: 332.9 kB / 0.808 GB, free: 37.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003518/0.6904, allocations: 289.1 kB / 0.8083 GB, free: 37.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005693/0.691, allocations: 422.2 kB / 0.8087 GB, free: 37.14 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.691, allocations: 0 / 0.8087 GB, free: 37.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.0008327/0.6919, allocations: 0.5577 MB / 0.8092 GB, free: 36.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.6919, allocations: 4.719 kB / 0.8092 GB, free: 36.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.6919, allocations: 1.125 kB / 0.8092 GB, free: 36.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.986e-06/0.6919, allocations: 8.141 kB / 0.8092 GB, free: 36.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004665/0.6924, allocations: 123.1 kB / 0.8094 GB, free: 36.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.6924, allocations: 4.062 kB / 0.8094 GB, free: 36.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/0.6927, allocations: 83 kB / 0.8094 GB, free: 36.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.6928, allocations: 18.55 kB / 0.8095 GB, free: 36.83 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.0001824/0.6929, allocations: 223 kB / 0.8097 GB, free: 36.63 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.241e-05/0.693, allocations: 71.33 kB / 0.8097 GB, free: 36.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.6932, allocations: 81.5 kB / 0.8098 GB, free: 36.53 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.6932, allocations: 6.219 kB / 0.8098 GB, free: 36.53 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/0.6932, allocations: 0.7031 kB / 0.8098 GB, free: 36.53 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.6932, allocations: 8.547 kB / 0.8098 GB, free: 36.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002549/0.6958, allocations: 1.552 MB / 0.8114 GB, free: 35.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6958, allocations: 4 kB / 0.8114 GB, free: 35.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005889/0.6964, allocations: 126.8 kB / 0.8115 GB, free: 35.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.6964, allocations: 6.719 kB / 0.8115 GB, free: 35.74 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.6965, allocations: 12.92 kB / 0.8115 GB, free: 35.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.6965, allocations: 3.219 kB / 0.8115 GB, free: 35.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6965, allocations: 1.75 kB / 0.8115 GB, free: 35.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.6982, allocations: 0.9717 MB / 0.8125 GB, free: 35.28 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.6983, allocations: 157 kB / 0.8126 GB, free: 35.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.842e-05/0.6984, allocations: 17.55 kB / 0.8126 GB, free: 35.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000327/0.6987, allocations: 43.58 kB / 0.8127 GB, free: 35.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.834e-05/0.6988, allocations: 35.77 kB / 0.8127 GB, free: 35.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-05/0.6989, allocations: 25.5 kB / 0.8127 GB, free: 35.09 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005724/0.6995, allocations: 422.2 kB / 0.8131 GB, free: 34.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6995, allocations: 0 / 0.8131 GB, free: 34.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000834/0.7003, allocations: 297 kB / 0.8134 GB, free: 34.8 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.0001846/0.7005, allocations: 132.4 kB / 0.8135 GB, free: 34.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001532/0.702, allocations: 0.804 MB / 0.8143 GB, free: 34.46 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.7021, allocations: 2.906 kB / 0.8143 GB, free: 34.46 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004717/0.7025, allocations: 290.8 kB / 0.8146 GB, free: 34.39 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007832/0.7033, allocations: 144 kB / 0.8147 GB, free: 34.34 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/0.706, allocations: 1.49 MB / 0.8162 GB, free: 33.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006512/0.7067, allocations: 0.9779 MB / 0.8171 GB, free: 32.81 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004039/0.7071, allocations: 87.97 kB / 0.8172 GB, free: 32.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.7073, allocations: 56.95 kB / 0.8173 GB, free: 32.79 MB / 0.6544 GB Notification: Performance of SimCode: time 9.22e-07/0.7073, allocations: 2.531 kB / 0.8173 GB, free: 32.79 MB / 0.6544 GB Notification: Performance of Templates: time 0.01747/0.7248, allocations: 7.214 MB / 0.8243 GB, free: 32.44 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)