Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.713/1.713, allocations: 285.6 MB / 293.1 MB, free: 10.24 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 176.3 kB / 361.4 MB, free: 6.844 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008344/0.0008343, allocations: 98.12 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.768e-05/2.77e-05, allocations: 11.98 kB / 0.8518 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.693/0.6931, allocations: 115.3 MB / 0.9644 GB, free: 78.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1961/0.8892, allocations: 138.2 MB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.8895, allocations: 69.97 kB / 1.099 GB, free: 1.566 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01816/0.9077, allocations: 6.369 MB / 1.106 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.46e-06/0.9077, allocations: 0 / 1.106 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.435e-05/0.9077, allocations: 11.94 kB / 1.106 GB, free: 11.27 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.00111/0.9089, allocations: 0.6168 MB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.9089, allocations: 12.03 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.9091, allocations: 48.47 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000673/0.9098, allocations: 370.8 kB / 1.107 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.9098, allocations: 12 kB / 1.107 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.03e-05/0.9099, allocations: 24 kB / 1.107 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004429/0.9104, allocations: 217.5 kB / 1.107 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.9109, allocations: 312.2 kB / 1.107 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.9109, allocations: 4 kB / 1.107 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.911, allocations: 4 kB / 1.107 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.911, allocations: 8 kB / 1.107 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.9129, allocations: 1.179 MB / 1.108 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/0.9134, allocations: 211 kB / 1.109 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.9136, allocations: 100.8 kB / 1.109 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.9136, allocations: 7.984 kB / 1.109 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002569/0.9139, allocations: 159.4 kB / 1.109 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 4.558e-06/0.9139, allocations: 3.984 kB / 1.109 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.0004071/0.9143, allocations: 201.2 kB / 1.109 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/0.9144, allocations: 128.5 kB / 1.109 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.9147, allocations: 269.1 kB / 1.109 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.9147, allocations: 25.7 kB / 1.109 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.9149, allocations: 239.8 kB / 1.11 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.186e-05/0.915, allocations: 86.75 kB / 1.11 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/0.915, allocations: 3.938 kB / 1.11 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.9152, allocations: 346.8 kB / 1.11 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.9153, allocations: 68.56 kB / 1.11 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.9155, allocations: 153.4 kB / 1.11 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.9157, allocations: 91.97 kB / 1.11 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.9157, allocations: 3.938 kB / 1.11 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004366/0.9162, allocations: 256.1 kB / 1.111 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002647/0.9164, allocations: 0.5333 MB / 1.111 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.9164, allocations: 0 / 1.111 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.9165, allocations: 4 kB / 1.111 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.9168, allocations: 63.91 kB / 1.111 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.9168, allocations: 0 / 1.111 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.917, allocations: 47.72 kB / 1.111 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.917, allocations: 19.89 kB / 1.111 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.917, allocations: 4.781 kB / 1.111 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003073/0.9174, allocations: 186.6 kB / 1.111 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.125e-06/0.9174, allocations: 0 / 1.111 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/0.9174, allocations: 4 kB / 1.111 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.9176, allocations: 51.48 kB / 1.112 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.9176, allocations: 8.125 kB / 1.112 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.9178, allocations: 27.73 kB / 1.112 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.9178, allocations: 15.94 kB / 1.112 GB, free: 4.918 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.0001164/0.9179, allocations: 108.9 kB / 1.112 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/0.918, allocations: 35.52 kB / 1.112 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.836e-05/0.9181, allocations: 34.86 kB / 1.112 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.9181, allocations: 4 kB / 1.112 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.9181, allocations: 4 kB / 1.112 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.9181, allocations: 7.984 kB / 1.112 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.9192, allocations: 0.8131 MB / 1.113 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.9192, allocations: 0 / 1.113 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.9195, allocations: 57.5 kB / 1.113 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.9195, allocations: 4 kB / 1.113 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.9195, allocations: 4 kB / 1.113 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.9195, allocations: 3.984 kB / 1.113 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.9196, allocations: 7.938 kB / 1.113 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007274/0.9203, allocations: 0.6223 MB / 1.113 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.392e-05/0.9204, allocations: 116.7 kB / 1.113 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.9204, allocations: 11.98 kB / 1.113 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.9207, allocations: 23.98 kB / 1.113 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.9207, allocations: 11.98 kB / 1.113 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.9207, allocations: 15.98 kB / 1.113 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002066/0.921, allocations: 208.6 kB / 1.114 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.71e-07/0.921, allocations: 0 / 1.114 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005361/0.9215, allocations: 115.4 kB / 1.114 GB, free: 2.531 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.0001944/0.9217, allocations: 119.9 kB / 1.114 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005309/0.9222, allocations: 324.5 kB / 1.114 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.9223, allocations: 4.5 kB / 1.114 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.9224, allocations: 91.86 kB / 1.114 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.9229, allocations: 57.88 kB / 1.114 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.924, allocations: 0.528 MB / 1.115 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.9244, allocations: 0.8154 MB / 1.116 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000253/0.9247, allocations: 51.38 kB / 1.116 GB, free: 480 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.729e-05/0.9248, allocations: 27.44 kB / 1.116 GB, free: 452 kB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/0.9248, allocations: 4 kB / 1.116 GB, free: 448 kB / 0.7136 GB Notification: Performance of Templates: time 0.007568/0.9324, allocations: 3.1 MB / 1.119 GB, free: 13.43 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)