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.PIDInitialState.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.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.594/2.594, allocations: 285 MB / 292.5 MB, free: 10.5 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.001652/0.001651, allocations: 184.8 kB / 360.8 MB, free: 7.223 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.096/2.096, allocations: 205.3 MB / 0.6192 GB, free: 12.16 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.001309/0.001309, allocations: 92.83 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.077e-05/3.085e-05, allocations: 8 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9329/0.933, allocations: 115.3 MB / 0.9635 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2395/1.173, allocations: 138.1 MB / 1.098 GB, free: 2.406 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003775/1.173, allocations: 76.14 kB / 1.098 GB, free: 2.336 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03482/1.208, allocations: 6.364 MB / 1.105 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.164e-06/1.208, allocations: 0 / 1.105 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.654e-05/1.208, allocations: 12 kB / 1.105 GB, free: 12.02 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001781/1.21, allocations: 0.628 MB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/1.21, allocations: 8.031 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002309/1.21, allocations: 48.64 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/1.211, allocations: 366.8 kB / 1.106 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/1.211, allocations: 12 kB / 1.106 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/1.211, allocations: 20 kB / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009176/1.212, allocations: 213.5 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/1.214, allocations: 314.3 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/1.214, allocations: 0 / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-05/1.214, allocations: 3.984 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/1.214, allocations: 8 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003853/1.218, allocations: 1.19 MB / 1.107 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000872/1.218, allocations: 215.2 kB / 1.108 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/1.219, allocations: 100.9 kB / 1.108 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.21e-05/1.219, allocations: 4 kB / 1.108 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000459/1.219, allocations: 153.2 kB / 1.108 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 3.767e-06/1.219, allocations: 0 / 1.108 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.0008009/1.22, allocations: 201.2 kB / 1.108 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/1.22, allocations: 136.5 kB / 1.108 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006201/1.221, allocations: 269 kB / 1.108 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/1.221, allocations: 33.69 kB / 1.108 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/1.221, allocations: 236.1 kB / 1.109 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/1.222, allocations: 86.73 kB / 1.109 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/1.222, allocations: 0 / 1.109 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003238/1.222, allocations: 342.8 kB / 1.109 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/1.222, allocations: 72.56 kB / 1.109 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004132/1.223, allocations: 149.4 kB / 1.109 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/1.223, allocations: 93.62 kB / 1.109 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/1.223, allocations: 4 kB / 1.109 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009344/1.224, allocations: 259.7 kB / 1.11 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003358/1.224, allocations: 0.5255 MB / 1.11 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/1.224, allocations: 4 kB / 1.11 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/1.224, allocations: 0 / 1.11 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007205/1.225, allocations: 63.91 kB / 1.11 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.008e-05/1.225, allocations: 18.16 kB / 1.11 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005087/1.226, allocations: 43.69 kB / 1.11 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-05/1.226, allocations: 12 kB / 1.11 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/1.226, allocations: 5.875 kB / 1.11 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007101/1.227, allocations: 184.5 kB / 1.11 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.227, allocations: 4.125 kB / 1.11 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/1.227, allocations: 4 kB / 1.11 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000518/1.227, allocations: 56.84 kB / 1.11 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/1.227, allocations: 3.938 kB / 1.11 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/1.228, allocations: 31.73 kB / 1.11 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/1.228, allocations: 8 kB / 1.11 GB, free: 5.672 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001953/1.228, allocations: 112.7 kB / 1.111 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/1.228, allocations: 35.58 kB / 1.111 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/1.228, allocations: 38.86 kB / 1.111 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/1.228, allocations: 7.938 kB / 1.111 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/1.228, allocations: 0 / 1.111 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/1.228, allocations: 0 / 1.111 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/1.23, allocations: 0.8196 MB / 1.111 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/1.231, allocations: 4 kB / 1.111 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005899/1.231, allocations: 51.91 kB / 1.112 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.391e-05/1.231, allocations: 4 kB / 1.112 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/1.231, allocations: 8 kB / 1.112 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-05/1.231, allocations: 8.188 kB / 1.112 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/1.231, allocations: 8 kB / 1.112 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/1.233, allocations: 0.6202 MB / 1.112 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/1.233, allocations: 116.7 kB / 1.112 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.575e-05/1.233, allocations: 5.938 kB / 1.112 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000558/1.233, allocations: 19.98 kB / 1.112 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/1.233, allocations: 23.97 kB / 1.112 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.002e-05/1.234, allocations: 12 kB / 1.112 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000437/1.234, allocations: 204.6 kB / 1.113 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.41e-07/1.234, allocations: 4 kB / 1.113 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001258/1.235, allocations: 115.4 kB / 1.113 GB, free: 3.277 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (limPI.I.y,limPID.I.y,limPID.D.x) * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.0002786/1.236, allocations: 116.2 kB / 1.113 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001179/1.237, allocations: 330.9 kB / 1.113 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/1.237, allocations: 0 / 1.113 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003311/1.237, allocations: 91.86 kB / 1.113 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009888/1.238, allocations: 72.5 kB / 1.113 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/1.24, allocations: 0.517 MB / 1.114 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005559/1.241, allocations: 0.8154 MB / 1.115 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004463/1.241, allocations: 56.59 kB / 1.115 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/1.241, allocations: 23.44 kB / 1.115 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of SimCode: time 9.61e-07/1.241, allocations: 0 / 1.115 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of Templates: time 0.01134/1.253, allocations: 3.1 MB / 1.118 GB, free: 14.18 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)