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.0007962/0.0007964, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0008887/0.0008889, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.4 MB / 222.1 MB, free: 5.613 MB / 174.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.678/1.678, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005025/0.0005026, allocations: 25.72 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.245, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.003015/0.2481, allocations: 2.611 MB / 0.7898 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00207/0.2502, allocations: 1.642 MB / 0.7914 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000279/0.2505, allocations: 15.94 kB / 0.7915 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.2508, allocations: 110.9 kB / 0.7916 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003217/0.2511, allocations: 87.3 kB / 0.7917 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.2515, allocations: 227.7 kB / 0.7919 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008619/0.2523, allocations: 0.9245 MB / 0.7928 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006078/0.253, allocations: 439.6 kB / 0.7932 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.2532, allocations: 242.5 kB / 0.7934 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.2534, allocations: 294 kB / 0.7937 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.898e-05/0.2535, allocations: 32 kB / 0.7937 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.937e-05/0.2536, allocations: 24 kB / 0.7938 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.586e-05/0.2537, allocations: 135.2 kB / 0.7939 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.2538, allocations: 165.1 kB / 0.794 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007029/0.2545, allocations: 0.9742 MB / 0.795 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2545, allocations: 0 / 0.795 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2545, allocations: 0 / 0.795 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.869e-06/0.2545, allocations: 0 / 0.795 GB, free: 3.988 MB / 0.6075 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.001738/0.2563, allocations: 1.192 MB / 0.7962 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.2563, allocations: 8.031 kB / 0.7962 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.2565, allocations: 118.5 kB / 0.7963 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006994/0.2572, allocations: 0.5706 MB / 0.7968 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.178e-05/0.2572, allocations: 70 kB / 0.7969 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.2574, allocations: 91.91 kB / 0.797 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.2587, allocations: 0.8665 MB / 0.7978 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.2587, allocations: 4 kB / 0.7978 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.424e-05/0.2588, allocations: 36 kB / 0.7979 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.2588, allocations: 20 kB / 0.7979 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.2599, allocations: 0.6207 MB / 0.7985 GB, free: 288 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003508/0.2634, allocations: 2.728 MB / 0.8012 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.2648, allocations: 1.33 MB / 0.8025 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005849/0.2654, allocations: 386.5 kB / 0.8028 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.132e-05/0.2655, allocations: 16.5 kB / 0.8028 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006581/0.2661, allocations: 347.1 kB / 0.8032 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=68): time 4.198e-06/0.2661, allocations: 112 / 0.8032 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.001514/0.2677, allocations: 0.8144 MB / 0.804 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.2678, allocations: 166.8 kB / 0.8041 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007439/0.2685, allocations: 0.59 MB / 0.8047 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.827e-05/0.2686, allocations: 41.7 kB / 0.8047 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.269, allocations: 412 kB / 0.8051 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.2692, allocations: 236.5 kB / 0.8054 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.2692, allocations: 16 kB / 0.8054 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002171/0.2695, allocations: 386.8 kB / 0.8058 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004379/0.2699, allocations: 225.2 kB / 0.806 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000532/0.2704, allocations: 349.4 kB / 0.8063 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004949/0.271, allocations: 267.1 kB / 0.8066 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.271, allocations: 0 / 0.8066 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001088/0.2721, allocations: 0.676 MB / 0.8072 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.802e-05/0.2721, allocations: 118.3 kB / 0.8073 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.2722, allocations: 0 / 0.8073 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.2722, allocations: 4 kB / 0.8073 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005141/0.2727, allocations: 147.8 kB / 0.8075 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.2727, allocations: 7.984 kB / 0.8075 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003344/0.2731, allocations: 103.4 kB / 0.8076 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.2731, allocations: 24 kB / 0.8076 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.2731, allocations: 4 kB / 0.8076 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006482/0.2738, allocations: 475.5 kB / 0.8081 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-06/0.2738, allocations: 80 / 0.8081 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.092e-06/0.2738, allocations: 7.984 kB / 0.8081 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/0.2742, allocations: 119.8 kB / 0.8082 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.2742, allocations: 11.94 kB / 0.8082 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.2745, allocations: 83.45 kB / 0.8083 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.2745, allocations: 20 kB / 0.8083 GB, free: 5.867 MB / 0.6231 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 ($whenCondition1,limPIDInp.trigger,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003169/0.2748, allocations: 293.6 kB / 0.8086 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.573e-05/0.2749, allocations: 75.06 kB / 0.8086 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.2751, allocations: 78.95 kB / 0.8087 GB, free: 5.414 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.2751, allocations: 8 kB / 0.8087 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.2751, allocations: 3.953 kB / 0.8087 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.2751, allocations: 7.922 kB / 0.8087 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/0.2771, allocations: 1.594 MB / 0.8103 GB, free: 3.742 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2772, allocations: 0 / 0.8103 GB, free: 3.742 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004979/0.2777, allocations: 131.8 kB / 0.8104 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.2777, allocations: 4 kB / 0.8104 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.2777, allocations: 12 kB / 0.8104 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.2777, allocations: 11.94 kB / 0.8104 GB, free: 3.586 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2777, allocations: 4 kB / 0.8104 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.2792, allocations: 1.018 MB / 0.8114 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.2793, allocations: 152.1 kB / 0.8116 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-05/0.2794, allocations: 16 kB / 0.8116 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.2796, allocations: 55.95 kB / 0.8117 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/0.2797, allocations: 40.48 kB / 0.8117 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.2797, allocations: 20 kB / 0.8117 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004099/0.2802, allocations: 423.1 kB / 0.8121 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2802, allocations: 0 / 0.8121 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005869/0.2808, allocations: 302.4 kB / 0.8124 GB, free: 1.547 MB / 0.6231 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 (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.0001568/0.2809, allocations: 127.2 kB / 0.8125 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001226/0.2822, allocations: 0.8241 MB / 0.8133 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2822, allocations: 0 / 0.8133 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000438/0.2826, allocations: 307.2 kB / 0.8136 GB, free: 296 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006834/0.2833, allocations: 142.2 kB / 0.8138 GB, free: 152 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.2855, allocations: 1.823 MB / 0.8155 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.2859, allocations: 0.9781 MB / 0.8165 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002825/0.2862, allocations: 81.22 kB / 0.8166 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.2864, allocations: 59.42 kB / 0.8166 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of SimCode: time 3.01e-07/0.2864, allocations: 0 / 0.8166 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of Templates: time 0.01127/0.2977, allocations: 6.533 MB / 0.823 GB, free: 6.688 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: