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.PIDScale.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.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.557/1.557, allocations: 285.4 MB / 298 MB, free: 5.984 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.001008/0.001008, allocations: 172.9 kB / 366.4 MB, free: 2.086 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.802/1.802, allocations: 205.1 MB / 0.6248 GB, free: 7.758 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.001165/0.001164, allocations: 90.12 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.269e-05/3.309e-05, allocations: 4 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8125/0.8126, allocations: 115.3 MB / 0.9709 GB, free: 77.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2203/1.033, allocations: 139.7 MB / 1.107 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/1.033, allocations: 77.39 kB / 1.107 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02691/1.06, allocations: 9.31 MB / 1.117 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.643e-06/1.06, allocations: 6.531 kB / 1.117 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.011e-05/1.06, allocations: 8 kB / 1.117 GB, free: 2.773 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001591/1.062, allocations: 0.7415 MB / 1.117 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/1.062, allocations: 8.031 kB / 1.117 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003039/1.062, allocations: 71.16 kB / 1.117 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/1.063, allocations: 448.2 kB / 1.118 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.431e-05/1.064, allocations: 40.94 kB / 1.118 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/1.064, allocations: 52 kB / 1.118 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000844/1.065, allocations: 435.1 kB / 1.118 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/1.065, allocations: 7.984 kB / 1.118 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.46e-05/1.065, allocations: 20 kB / 1.118 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/1.065, allocations: 12 kB / 1.118 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005665/1.065, allocations: 279.9 kB / 1.119 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002534/1.068, allocations: 1.492 MB / 1.12 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007961/1.069, allocations: 0.8182 MB / 1.121 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/1.069, allocations: 170.7 kB / 1.121 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.506e-05/1.069, allocations: 8.578 kB / 1.121 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003935/1.069, allocations: 199.3 kB / 1.121 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=43): time 3.427e-06/1.069, allocations: 4 kB / 1.121 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43): time 0.0006457/1.07, allocations: 340.9 kB / 1.122 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.127e-05/1.07, allocations: 110.8 kB / 1.122 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/1.07, allocations: 343.2 kB / 1.122 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.462e-05/1.071, allocations: 33.7 kB / 1.122 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/1.071, allocations: 256.5 kB / 1.122 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/1.071, allocations: 141.9 kB / 1.122 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/1.071, allocations: 12 kB / 1.122 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001639/1.071, allocations: 358.8 kB / 1.123 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/1.071, allocations: 133.4 kB / 1.123 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/1.072, allocations: 217.3 kB / 1.123 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/1.072, allocations: 183.2 kB / 1.123 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.072, allocations: 0 / 1.123 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007692/1.073, allocations: 464.4 kB / 1.124 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003348/1.073, allocations: 0.5703 MB / 1.124 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.073, allocations: 1.75 kB / 1.124 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/1.073, allocations: 11.94 kB / 1.124 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/1.074, allocations: 79.89 kB / 1.124 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/1.074, allocations: 6.891 kB / 1.124 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/1.074, allocations: 91.62 kB / 1.124 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/1.074, allocations: 20 kB / 1.124 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/1.074, allocations: 8.766 kB / 1.124 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006654/1.075, allocations: 405.4 kB / 1.125 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/1.075, allocations: 4.156 kB / 1.125 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/1.075, allocations: 8 kB / 1.125 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/1.075, allocations: 67.91 kB / 1.125 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/1.075, allocations: 4 kB / 1.125 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003614/1.075, allocations: 79.64 kB / 1.125 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/1.075, allocations: 23.95 kB / 1.125 GB, free: 9.648 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 (50): * Single equations (assignments): 49 * 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.0001627/1.076, allocations: 128.9 kB / 1.125 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.517e-05/1.076, allocations: 47.42 kB / 1.125 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/1.076, allocations: 52.66 kB / 1.125 GB, free: 9.414 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/1.076, allocations: 6.562 kB / 1.125 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.076, allocations: 0 / 1.125 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/1.076, allocations: 3.984 kB / 1.125 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/1.077, allocations: 0.9784 MB / 1.126 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/1.077, allocations: 0 / 1.126 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003523/1.078, allocations: 79.89 kB / 1.126 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.321e-06/1.078, allocations: 0 / 1.126 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/1.078, allocations: 12 kB / 1.126 GB, free: 8.281 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/1.078, allocations: 3.953 kB / 1.126 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.078, allocations: 4 kB / 1.126 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008322/1.079, allocations: 0.5966 MB / 1.127 GB, free: 7.664 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/1.079, allocations: 124.5 kB / 1.127 GB, free: 7.523 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/1.079, allocations: 8 kB / 1.127 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/1.079, allocations: 31.97 kB / 1.127 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/1.079, allocations: 27.92 kB / 1.127 GB, free: 7.457 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/1.079, allocations: 12 kB / 1.127 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003267/1.08, allocations: 277.2 kB / 1.127 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.31e-07/1.08, allocations: 0 / 1.127 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006168/1.08, allocations: 203.1 kB / 1.128 GB, free: 6.98 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * 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 (43): * Single equations (assignments): 42 * 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.0002782/1.08, allocations: 127.2 kB / 1.128 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001165/1.082, allocations: 0.6703 MB / 1.128 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.082, allocations: 0 / 1.128 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002447/1.082, allocations: 159.8 kB / 1.128 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005404/1.082, allocations: 84.19 kB / 1.129 GB, free: 5.914 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/1.084, allocations: 0.6619 MB / 1.129 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/1.084, allocations: 0.8636 MB / 1.13 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003491/1.085, allocations: 73.41 kB / 1.13 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.724e-05/1.085, allocations: 31.44 kB / 1.13 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of SimCode: time 8.61e-07/1.085, allocations: 0 / 1.13 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of Templates: time 0.01379/1.099, allocations: 5.874 MB / 1.136 GB, free: 14.48 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)