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.PID.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.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.467/2.467, allocations: 285 MB / 292.5 MB, free: 10.54 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.001463/0.001463, allocations: 184.8 kB / 360.7 MB, free: 7.266 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.06/2.06, allocations: 205.2 MB / 0.6192 GB, free: 12.14 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001177/0.001176, allocations: 95.5 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.885e-05/3.901e-05, allocations: 8 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8521/0.8522, allocations: 115.3 MB / 0.9635 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2805/1.133, allocations: 138.9 MB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/1.133, allocations: 76.7 kB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.09542/1.229, allocations: 15.84 MB / 1.115 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.873e-06/1.229, allocations: 0 / 1.115 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.144e-05/1.229, allocations: 16 kB / 1.115 GB, free: 1.711 MB / 0.7136 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.002887/1.232, allocations: 1.093 MB / 1.116 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/1.232, allocations: 8.031 kB / 1.116 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004195/1.232, allocations: 118.6 kB / 1.116 GB, free: 452 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/1.234, allocations: 0.6491 MB / 1.117 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.688e-05/1.234, allocations: 27.98 kB / 1.117 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/1.234, allocations: 55.98 kB / 1.117 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001549/1.236, allocations: 488 kB / 1.117 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/1.238, allocations: 0.6372 MB / 1.118 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/1.238, allocations: 0 / 1.118 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-05/1.238, allocations: 3.984 kB / 1.118 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.85e-05/1.238, allocations: 20 kB / 1.118 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006678/1.245, allocations: 2.489 MB / 1.12 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/1.246, allocations: 0.5575 MB / 1.121 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006694/1.247, allocations: 251.1 kB / 1.121 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.557e-05/1.247, allocations: 8.562 kB / 1.121 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007221/1.248, allocations: 271.1 kB / 1.121 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=63): time 3.967e-06/1.248, allocations: 4 kB / 1.121 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63): time 0.001412/1.249, allocations: 470.2 kB / 1.122 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/1.25, allocations: 192.4 kB / 1.122 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/1.251, allocations: 487.6 kB / 1.122 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001573/1.251, allocations: 29.7 kB / 1.122 GB, free: 9.641 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005547/1.251, allocations: 443.8 kB / 1.123 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/1.252, allocations: 193 kB / 1.123 GB, free: 9.008 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.523e-05/1.252, allocations: 4 kB / 1.123 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002385/1.252, allocations: 386.8 kB / 1.123 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005871/1.253, allocations: 189.5 kB / 1.123 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007091/1.253, allocations: 320.5 kB / 1.124 GB, free: 8.07 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008332/1.254, allocations: 224.2 kB / 1.124 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/1.254, allocations: 4 kB / 1.124 GB, free: 7.852 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001909/1.256, allocations: 0.5969 MB / 1.125 GB, free: 7.246 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003302/1.256, allocations: 0.5649 MB / 1.125 GB, free: 6.637 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.257, allocations: 0 / 1.125 GB, free: 6.637 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/1.257, allocations: 4 kB / 1.125 GB, free: 6.633 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/1.258, allocations: 147.8 kB / 1.125 GB, free: 6.488 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/1.258, allocations: 4 kB / 1.125 GB, free: 6.484 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/1.259, allocations: 127.4 kB / 1.125 GB, free: 6.359 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.549e-05/1.259, allocations: 24.86 kB / 1.125 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/1.259, allocations: 8 kB / 1.125 GB, free: 6.328 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001508/1.26, allocations: 477.2 kB / 1.126 GB, free: 5.859 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.261, allocations: 3.984 kB / 1.126 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/1.261, allocations: 4 kB / 1.126 GB, free: 5.852 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008135/1.261, allocations: 107.8 kB / 1.126 GB, free: 5.746 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/1.261, allocations: 6.578 kB / 1.126 GB, free: 5.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008753/1.262, allocations: 97.31 kB / 1.126 GB, free: 5.648 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.45e-05/1.262, allocations: 30.61 kB / 1.126 GB, free: 5.621 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * 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.0002467/1.263, allocations: 126.4 kB / 1.126 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/1.263, allocations: 75.06 kB / 1.126 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/1.263, allocations: 71.42 kB / 1.126 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/1.263, allocations: 8 kB / 1.126 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/1.263, allocations: 0 / 1.126 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/1.263, allocations: 3.984 kB / 1.126 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002442/1.266, allocations: 1.192 MB / 1.128 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.266, allocations: 0 / 1.128 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/1.267, allocations: 127.8 kB / 1.128 GB, free: 3.965 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/1.267, allocations: 4 kB / 1.128 GB, free: 3.961 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.862e-05/1.267, allocations: 4 kB / 1.128 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/1.267, allocations: 0 / 1.128 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.267, allocations: 0 / 1.128 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/1.269, allocations: 0.8029 MB / 1.128 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/1.269, allocations: 156.1 kB / 1.129 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/1.269, allocations: 4 kB / 1.129 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006604/1.27, allocations: 51.8 kB / 1.129 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.689e-05/1.27, allocations: 36.52 kB / 1.129 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-05/1.27, allocations: 19.98 kB / 1.129 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007173/1.271, allocations: 371.2 kB / 1.129 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.71e-07/1.271, allocations: 0 / 1.129 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001178/1.272, allocations: 298.4 kB / 1.129 GB, free: 2.207 MB / 0.7292 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: 6 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002825/1.272, allocations: 135 kB / 1.13 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002158/1.274, allocations: 0.8777 MB / 1.13 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.274, allocations: 0 / 1.13 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005869/1.275, allocations: 230 kB / 1.131 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/1.276, allocations: 142.6 kB / 1.131 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002713/1.279, allocations: 1.012 MB / 1.132 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007841/1.28, allocations: 1.003 MB / 1.133 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000926/1.281, allocations: 119.1 kB / 1.133 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/1.281, allocations: 51.42 kB / 1.133 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of SimCode: time 1.112e-06/1.281, allocations: 0 / 1.133 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of Templates: time 0.02691/1.308, allocations: 8.508 MB / 1.141 GB, free: 6.25 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)