Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.77/1.77, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001104/0.001104, allocations: 185 kB / 377.1 MB, free: 1.504 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.747/1.747, allocations: 205.4 MB / 0.6367 GB, free: 8.555 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.0009766/0.0009764, allocations: 86.31 kB / 0.751 GB, free: 63.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004908/0.000491, allocations: 12 kB / 0.8748 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3195, allocations: 116.3 MB / 0.9884 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7281/1.048, allocations: 140.8 MB / 1.126 GB, free: 34.32 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/1.048, allocations: 78.16 kB / 1.126 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02378/1.072, allocations: 9.31 MB / 1.135 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.194e-06/1.072, allocations: 0 / 1.135 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.456e-05/1.072, allocations: 16 kB / 1.135 GB, free: 27.92 MB / 0.7292 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.001299/1.073, allocations: 0.8257 MB / 1.136 GB, free: 27.12 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/1.073, allocations: 16.53 kB / 1.136 GB, free: 27.1 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/1.073, allocations: 71.25 kB / 1.136 GB, free: 27.04 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007155/1.074, allocations: 446.7 kB / 1.136 GB, free: 26.61 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.621e-05/1.074, allocations: 45.84 kB / 1.136 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-05/1.074, allocations: 52.61 kB / 1.136 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007876/1.075, allocations: 473.8 kB / 1.137 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/1.075, allocations: 0.6094 kB / 1.137 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.146e-05/1.075, allocations: 24.66 kB / 1.137 GB, free: 26.09 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/1.075, allocations: 8.656 kB / 1.137 GB, free: 26.08 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005954/1.076, allocations: 344.3 kB / 1.137 GB, free: 25.79 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/1.078, allocations: 1.491 MB / 1.139 GB, free: 24.54 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007756/1.079, allocations: 0.8816 MB / 1.14 GB, free: 23.59 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/1.079, allocations: 5.188 kB / 1.14 GB, free: 23.58 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004694/1.079, allocations: 246.7 kB / 1.14 GB, free: 23.37 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=43): time 2.354e-06/1.079, allocations: 0 / 1.14 GB, free: 23.37 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43): time 0.0009525/1.08, allocations: 0.5072 MB / 1.14 GB, free: 22.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/1.08, allocations: 111.4 kB / 1.14 GB, free: 22.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/1.08, allocations: 344.8 kB / 1.141 GB, free: 22.47 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.621e-05/1.081, allocations: 38.41 kB / 1.141 GB, free: 22.43 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/1.081, allocations: 261.5 kB / 1.141 GB, free: 22.19 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.423e-05/1.081, allocations: 142.2 kB / 1.141 GB, free: 22.06 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/1.081, allocations: 8.844 kB / 1.141 GB, free: 22.05 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.82e-05/1.081, allocations: 354.4 kB / 1.142 GB, free: 21.71 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003077/1.081, allocations: 164.3 kB / 1.142 GB, free: 21.57 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/1.082, allocations: 251.3 kB / 1.142 GB, free: 21.32 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/1.082, allocations: 207.8 kB / 1.142 GB, free: 21.12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.082, allocations: 3.938 kB / 1.142 GB, free: 21.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007934/1.083, allocations: 0.5165 MB / 1.143 GB, free: 20.63 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001462/1.083, allocations: 0.5712 MB / 1.143 GB, free: 20.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.083, allocations: 1.641 kB / 1.143 GB, free: 20.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/1.083, allocations: 4 kB / 1.143 GB, free: 20.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/1.083, allocations: 83.17 kB / 1.143 GB, free: 19.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/1.083, allocations: 4.703 kB / 1.143 GB, free: 19.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003587/1.084, allocations: 89.7 kB / 1.143 GB, free: 19.87 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/1.084, allocations: 23.08 kB / 1.143 GB, free: 19.85 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.261e-06/1.084, allocations: 4 kB / 1.143 GB, free: 19.84 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005675/1.084, allocations: 421 kB / 1.144 GB, free: 19.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/1.084, allocations: 4 kB / 1.144 GB, free: 19.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.299e-06/1.084, allocations: 4.656 kB / 1.144 GB, free: 19.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/1.085, allocations: 66.78 kB / 1.144 GB, free: 19.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/1.085, allocations: 9.531 kB / 1.144 GB, free: 19.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/1.085, allocations: 79 kB / 1.144 GB, free: 19.31 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/1.085, allocations: 17.5 kB / 1.144 GB, free: 19.3 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 () * Number of clocked 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.0002217/1.085, allocations: 255.9 kB / 1.144 GB, free: 19.04 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/1.085, allocations: 51.91 kB / 1.144 GB, free: 18.99 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/1.085, allocations: 50.75 kB / 1.144 GB, free: 18.94 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.085, allocations: 8 kB / 1.144 GB, free: 18.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/1.085, allocations: 4 kB / 1.144 GB, free: 18.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/1.085, allocations: 4.125 kB / 1.144 GB, free: 18.93 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/1.087, allocations: 1.034 MB / 1.145 GB, free: 18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.087, allocations: 0.5625 kB / 1.145 GB, free: 18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004777/1.088, allocations: 70.02 kB / 1.145 GB, free: 17.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/1.088, allocations: 4.703 kB / 1.145 GB, free: 17.94 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.405e-05/1.088, allocations: 13.03 kB / 1.145 GB, free: 17.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/1.088, allocations: 12.44 kB / 1.145 GB, free: 17.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.088, allocations: 0 / 1.145 GB, free: 17.92 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/1.089, allocations: 0.665 MB / 1.146 GB, free: 17.29 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/1.089, allocations: 124.1 kB / 1.146 GB, free: 17.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/1.089, allocations: 8.812 kB / 1.146 GB, free: 17.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/1.089, allocations: 34.23 kB / 1.146 GB, free: 17.12 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.499e-05/1.089, allocations: 28.62 kB / 1.146 GB, free: 17.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/1.089, allocations: 9.969 kB / 1.146 GB, free: 17.09 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003678/1.09, allocations: 279.8 kB / 1.147 GB, free: 16.85 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.09, allocations: 4 kB / 1.147 GB, free: 16.85 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006703/1.09, allocations: 193.1 kB / 1.147 GB, free: 16.66 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 () * Number of clocked 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.0003299/1.091, allocations: 135.9 kB / 1.147 GB, free: 16.52 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001089/1.092, allocations: 0.7183 MB / 1.148 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.092, allocations: 0 / 1.148 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000289/1.092, allocations: 190.1 kB / 1.148 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005493/1.093, allocations: 79.2 kB / 1.148 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/1.094, allocations: 1.051 MB / 1.149 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/1.095, allocations: 0.8605 MB / 1.15 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002318/1.095, allocations: 54.42 kB / 1.15 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.499e-05/1.095, allocations: 41.34 kB / 1.15 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of SimCode: time 3.2e-07/1.095, allocations: 0 / 1.15 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of Templates: time 0.01022/1.105, allocations: 5.224 MB / 1.155 GB, free: 10.76 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)