Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.658/2.658, allocations: 287.5 MB / 302.5 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001526/0.001526, allocations: 185.1 kB / 371 MB, free: 10.71 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.314/2.314, allocations: 205.4 MB / 0.6297 GB, free: 10.46 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00179/0.001789, allocations: 93.97 kB / 0.743 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004999/0.0005, allocations: 13.34 kB / 0.8658 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2437, allocations: 115.3 MB / 0.9784 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9301/1.174, allocations: 139.4 MB / 1.114 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/1.174, allocations: 74.48 kB / 1.115 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05326/1.227, allocations: 13.77 MB / 1.128 GB, free: 29.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.347e-06/1.227, allocations: 4 kB / 1.128 GB, free: 29.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.198e-05/1.228, allocations: 35.03 kB / 1.128 GB, free: 29.87 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003476/1.231, allocations: 1.171 MB / 1.129 GB, free: 29.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/1.231, allocations: 7.844 kB / 1.129 GB, free: 29.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004084/1.232, allocations: 112.7 kB / 1.129 GB, free: 29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/1.233, allocations: 0.5949 MB / 1.13 GB, free: 28.62 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.1e-05/1.233, allocations: 70.47 kB / 1.13 GB, free: 28.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/1.233, allocations: 100.3 kB / 1.13 GB, free: 28.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/1.236, allocations: 0.8528 MB / 1.131 GB, free: 28.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/1.236, allocations: 0 / 1.131 GB, free: 28.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/1.236, allocations: 38.62 kB / 1.131 GB, free: 28.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/1.236, allocations: 23.19 kB / 1.131 GB, free: 28.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/1.238, allocations: 0.6314 MB / 1.132 GB, free: 28.26 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005554/1.244, allocations: 2.519 MB / 1.134 GB, free: 26.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002299/1.246, allocations: 1.326 MB / 1.135 GB, free: 26.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.726e-05/1.246, allocations: 8.25 kB / 1.135 GB, free: 26.06 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/1.247, allocations: 364.6 kB / 1.136 GB, free: 25.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=69): time 3.817e-06/1.247, allocations: 0 / 1.136 GB, free: 25.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=69): time 0.002583/1.25, allocations: 0.8191 MB / 1.136 GB, free: 25.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/1.25, allocations: 166.5 kB / 1.137 GB, free: 25.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009367/1.251, allocations: 0.5246 MB / 1.137 GB, free: 25.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001418/1.251, allocations: 42.7 kB / 1.137 GB, free: 25.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/1.251, allocations: 410.7 kB / 1.138 GB, free: 25.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/1.252, allocations: 238.5 kB / 1.138 GB, free: 24.97 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/1.252, allocations: 10 kB / 1.138 GB, free: 24.97 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.252, allocations: 332 kB / 1.138 GB, free: 24.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007923/1.253, allocations: 230.2 kB / 1.138 GB, free: 24.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008287/1.253, allocations: 332.6 kB / 1.139 GB, free: 24.49 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007919/1.254, allocations: 263.4 kB / 1.139 GB, free: 24.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.254, allocations: 0 / 1.139 GB, free: 24.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001921/1.256, allocations: 0.6658 MB / 1.14 GB, free: 24.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000139/1.256, allocations: 180 kB / 1.14 GB, free: 24.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.256, allocations: 0 / 1.14 GB, free: 24.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/1.256, allocations: 7.844 kB / 1.14 GB, free: 24.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/1.258, allocations: 144.6 kB / 1.14 GB, free: 24.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/1.258, allocations: 7.797 kB / 1.14 GB, free: 24.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007612/1.258, allocations: 118.3 kB / 1.14 GB, free: 24.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.414e-05/1.258, allocations: 15.09 kB / 1.14 GB, free: 24.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.258, allocations: 3.844 kB / 1.14 GB, free: 24.04 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001012/1.259, allocations: 461.4 kB / 1.14 GB, free: 24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/1.259, allocations: 3.984 kB / 1.14 GB, free: 24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/1.259, allocations: 7.812 kB / 1.14 GB, free: 23.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008328/1.26, allocations: 125.7 kB / 1.141 GB, free: 23.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/1.26, allocations: 3.906 kB / 1.141 GB, free: 23.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006094/1.261, allocations: 77.06 kB / 1.141 GB, free: 23.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.285e-05/1.261, allocations: 17.91 kB / 1.141 GB, free: 23.93 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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.0006062/1.262, allocations: 293.3 kB / 1.141 GB, free: 23.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/1.262, allocations: 85.62 kB / 1.141 GB, free: 23.69 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/1.262, allocations: 81.64 kB / 1.141 GB, free: 23.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.262, allocations: 7.875 kB / 1.141 GB, free: 23.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/1.262, allocations: 0 / 1.141 GB, free: 23.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/1.262, allocations: 3.984 kB / 1.141 GB, free: 23.65 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003499/1.266, allocations: 1.608 MB / 1.143 GB, free: 23.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.266, allocations: 4 kB / 1.143 GB, free: 23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/1.267, allocations: 127.5 kB / 1.143 GB, free: 22.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/1.267, allocations: 3.875 kB / 1.143 GB, free: 22.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.276e-05/1.267, allocations: 18.03 kB / 1.143 GB, free: 22.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/1.267, allocations: 7.781 kB / 1.143 GB, free: 22.97 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.267, allocations: 3.984 kB / 1.143 GB, free: 22.97 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002683/1.27, allocations: 1.034 MB / 1.144 GB, free: 22.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002544/1.27, allocations: 156.8 kB / 1.144 GB, free: 22.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/1.27, allocations: 11.41 kB / 1.144 GB, free: 22.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006233/1.271, allocations: 61.77 kB / 1.144 GB, free: 22.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/1.271, allocations: 35.44 kB / 1.144 GB, free: 22.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.051e-05/1.271, allocations: 19.12 kB / 1.144 GB, free: 22.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006991/1.272, allocations: 424.1 kB / 1.145 GB, free: 22.36 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.51e-07/1.272, allocations: 0 / 1.145 GB, free: 22.36 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009641/1.272, allocations: 296.3 kB / 1.145 GB, free: 22.29 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: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 69 * 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.0002485/1.273, allocations: 139.2 kB / 1.145 GB, free: 22.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002434/1.275, allocations: 0.8119 MB / 1.146 GB, free: 22.07 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.066e-06/1.275, allocations: 8.062 kB / 1.146 GB, free: 22.06 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001148/1.276, allocations: 302.8 kB / 1.146 GB, free: 22.01 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/1.278, allocations: 135.4 kB / 1.146 GB, free: 21.97 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004353/1.282, allocations: 1.819 MB / 1.148 GB, free: 20.87 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008213/1.283, allocations: 1.003 MB / 1.149 GB, free: 20.02 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008589/1.284, allocations: 91.36 kB / 1.149 GB, free: 19.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003809/1.284, allocations: 57.8 kB / 1.149 GB, free: 19.97 MB / 0.698 GB Notification: Performance of SimCode: time 1.152e-06/1.284, allocations: 0 / 1.149 GB, free: 19.97 MB / 0.698 GB Notification: Performance of Templates: time 0.02746/1.312, allocations: 6.598 MB / 1.156 GB, free: 16.84 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)