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.81/2.81, allocations: 284.8 MB / 297.3 MB, free: 6.34 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.001555/0.001554, allocations: 172.8 kB / 365.7 MB, free: 2.586 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 1.989/1.989, allocations: 205.1 MB / 0.6241 GB, free: 8.199 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.001075/0.001074, allocations: 91.22 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.637e-05/6.641e-05, allocations: 8 kB / 0.8575 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8892/0.8893, allocations: 115.2 MB / 0.97 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2545/1.144, allocations: 138.7 MB / 1.105 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/1.144, allocations: 77.83 kB / 1.106 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02699/1.171, allocations: 6.418 MB / 1.112 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.335e-06/1.171, allocations: 0 / 1.112 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.757e-05/1.171, allocations: 11.98 kB / 1.112 GB, free: 7.293 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.001358/1.173, allocations: 0.6268 MB / 1.112 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/1.173, allocations: 12.03 kB / 1.112 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/1.173, allocations: 48.64 kB / 1.112 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009731/1.174, allocations: 362.7 kB / 1.113 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.765e-05/1.174, allocations: 32.78 kB / 1.113 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-05/1.174, allocations: 40 kB / 1.113 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000945/1.175, allocations: 366.3 kB / 1.113 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/1.175, allocations: 0 / 1.113 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-05/1.175, allocations: 16 kB / 1.113 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/1.175, allocations: 11.94 kB / 1.113 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000671/1.176, allocations: 239.1 kB / 1.114 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003159/1.179, allocations: 1.284 MB / 1.115 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007093/1.18, allocations: 223.3 kB / 1.115 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/1.18, allocations: 113.8 kB / 1.115 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/1.18, allocations: 4 kB / 1.115 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003717/1.181, allocations: 155.5 kB / 1.115 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 2.565e-06/1.181, allocations: 0 / 1.115 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.000663/1.181, allocations: 233 kB / 1.115 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.155e-05/1.181, allocations: 132.5 kB / 1.116 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006728/1.182, allocations: 354.8 kB / 1.116 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.402e-05/1.182, allocations: 33.7 kB / 1.116 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/1.182, allocations: 228 kB / 1.116 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/1.183, allocations: 90.73 kB / 1.116 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/1.183, allocations: 4 kB / 1.116 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001853/1.183, allocations: 356.4 kB / 1.117 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/1.183, allocations: 72.56 kB / 1.117 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003184/1.183, allocations: 161.6 kB / 1.117 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/1.184, allocations: 97.16 kB / 1.117 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.184, allocations: 4 kB / 1.117 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007559/1.184, allocations: 291.3 kB / 1.117 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002602/1.185, allocations: 0.5216 MB / 1.118 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/1.185, allocations: 4 kB / 1.118 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/1.185, allocations: 0 / 1.118 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005501/1.185, allocations: 79.84 kB / 1.118 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/1.185, allocations: 4 kB / 1.118 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004127/1.186, allocations: 47.67 kB / 1.118 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-05/1.186, allocations: 8 kB / 1.118 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/1.186, allocations: 4 kB / 1.118 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005879/1.186, allocations: 234.1 kB / 1.118 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/1.186, allocations: 0 / 1.118 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/1.187, allocations: 9.859 kB / 1.118 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/1.187, allocations: 47.92 kB / 1.118 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/1.187, allocations: 4 kB / 1.118 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/1.187, allocations: 39.67 kB / 1.118 GB, free: 484 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/1.187, allocations: 8 kB / 1.118 GB, free: 476 kB / 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.0001468/1.187, allocations: 131 kB / 1.118 GB, free: 340 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.138e-05/1.188, allocations: 35.53 kB / 1.118 GB, free: 304 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/1.188, allocations: 47.33 kB / 1.118 GB, free: 256 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/1.188, allocations: 4 kB / 1.118 GB, free: 252 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.188, allocations: 3.984 kB / 1.118 GB, free: 248 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.188, allocations: 0 / 1.118 GB, free: 248 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/1.19, allocations: 0.9008 MB / 1.119 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/1.19, allocations: 4 kB / 1.119 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004688/1.19, allocations: 51.91 kB / 1.119 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.649e-06/1.19, allocations: 7.438 kB / 1.119 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/1.19, allocations: 12 kB / 1.119 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/1.19, allocations: 4 kB / 1.119 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/1.19, allocations: 11.89 kB / 1.119 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/1.191, allocations: 0.6535 MB / 1.12 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/1.191, allocations: 124.6 kB / 1.12 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.946e-05/1.191, allocations: 11.31 kB / 1.12 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/1.192, allocations: 27.98 kB / 1.12 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/1.192, allocations: 23.94 kB / 1.12 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/1.192, allocations: 11.98 kB / 1.12 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004641/1.192, allocations: 277.2 kB / 1.12 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.4e-07/1.192, allocations: 0 / 1.12 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007169/1.193, allocations: 123.6 kB / 1.121 GB, free: 13.82 MB / 0.7292 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.0002071/1.193, allocations: 127.1 kB / 1.121 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009017/1.194, allocations: 343.1 kB / 1.121 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.994e-06/1.194, allocations: 4 kB / 1.121 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002465/1.195, allocations: 95.81 kB / 1.121 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006725/1.195, allocations: 68.86 kB / 1.121 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/1.197, allocations: 0.5491 MB / 1.122 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/1.197, allocations: 0.816 MB / 1.123 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004262/1.198, allocations: 57.58 kB / 1.123 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/1.198, allocations: 31.42 kB / 1.123 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of SimCode: time 9.31e-07/1.198, allocations: 0 / 1.123 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of Templates: time 0.01301/1.211, allocations: 3.745 MB / 1.126 GB, free: 8 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)