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.683/1.683, allocations: 288.4 MB / 304.3 MB, free: 8.145 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.001249/0.001249, allocations: 184 kB / 373 MB, free: 10.16 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.737/1.737, allocations: 205.4 MB / 0.6317 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000869/0.0008689, allocations: 90.3 kB / 0.745 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003772, allocations: 14.09 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1998, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6695/0.8693, allocations: 139.9 MB / 1.117 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.8696, allocations: 80.8 kB / 1.117 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02265/0.8923, allocations: 9.351 MB / 1.127 GB, free: 31.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8923, allocations: 0 / 1.127 GB, free: 31.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.8e-05/0.8923, allocations: 11.53 kB / 1.127 GB, free: 31.45 MB / 0.698 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.001187/0.8935, allocations: 0.8247 MB / 1.127 GB, free: 30.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.8936, allocations: 7.781 kB / 1.127 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.8937, allocations: 70.94 kB / 1.127 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006173/0.8943, allocations: 458.2 kB / 1.128 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.8944, allocations: 41.53 kB / 1.128 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.429e-05/0.8944, allocations: 52.28 kB / 1.128 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000676/0.8951, allocations: 476.7 kB / 1.128 GB, free: 30.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.8951, allocations: 7.875 kB / 1.128 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.8952, allocations: 21.22 kB / 1.128 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.8952, allocations: 11.53 kB / 1.128 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005506/0.8958, allocations: 339.9 kB / 1.129 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.8975, allocations: 1.502 MB / 1.13 GB, free: 29.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007674/0.8983, allocations: 0.874 MB / 1.131 GB, free: 28.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.8986, allocations: 194.6 kB / 1.131 GB, free: 28.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.8987, allocations: 4.5 kB / 1.131 GB, free: 28.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003881/0.8991, allocations: 236.7 kB / 1.131 GB, free: 28.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=43): time 2.234e-06/0.8991, allocations: 3.906 kB / 1.131 GB, free: 28.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=43): time 0.0008556/0.8999, allocations: 0.5131 MB / 1.132 GB, free: 28.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.9, allocations: 114.8 kB / 1.132 GB, free: 28.35 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.9004, allocations: 388.4 kB / 1.132 GB, free: 28.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.9004, allocations: 39.83 kB / 1.133 GB, free: 28.17 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.9005, allocations: 260 kB / 1.133 GB, free: 28.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.095e-05/0.9006, allocations: 143.2 kB / 1.133 GB, free: 27.92 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/0.9007, allocations: 13.66 kB / 1.133 GB, free: 27.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.9008, allocations: 353.8 kB / 1.133 GB, free: 27.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.9011, allocations: 163.9 kB / 1.133 GB, free: 27.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003093/0.9014, allocations: 255.4 kB / 1.134 GB, free: 27.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005222/0.9019, allocations: 394.8 kB / 1.134 GB, free: 27.33 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.9019, allocations: 0 / 1.134 GB, free: 27.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007544/0.9027, allocations: 0.5222 MB / 1.135 GB, free: 27.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.299e-05/0.9028, allocations: 167.1 kB / 1.135 GB, free: 27.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.9028, allocations: 0 / 1.135 GB, free: 27.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.9028, allocations: 3.844 kB / 1.135 GB, free: 27.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.9032, allocations: 89.02 kB / 1.135 GB, free: 26.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.9032, allocations: 7.781 kB / 1.135 GB, free: 26.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003411/0.9035, allocations: 83.92 kB / 1.135 GB, free: 26.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.9036, allocations: 25.73 kB / 1.135 GB, free: 26.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.301e-06/0.9036, allocations: 3.844 kB / 1.135 GB, free: 26.95 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000519/0.9041, allocations: 413.1 kB / 1.135 GB, free: 26.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-06/0.9041, allocations: 3.844 kB / 1.135 GB, free: 26.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-06/0.9041, allocations: 3.969 kB / 1.135 GB, free: 26.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.9044, allocations: 74 kB / 1.135 GB, free: 26.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.9044, allocations: 3.844 kB / 1.135 GB, free: 26.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.9047, allocations: 76.98 kB / 1.135 GB, free: 26.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.9047, allocations: 19.22 kB / 1.135 GB, free: 26.82 MB / 0.698 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.0002301/0.905, allocations: 249.9 kB / 1.136 GB, free: 26.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.905, allocations: 50.5 kB / 1.136 GB, free: 26.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.876e-05/0.9051, allocations: 57.55 kB / 1.136 GB, free: 26.58 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.9051, allocations: 7.875 kB / 1.136 GB, free: 26.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.9051, allocations: 3.938 kB / 1.136 GB, free: 26.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.9051, allocations: 0 / 1.136 GB, free: 26.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.9063, allocations: 1.03 MB / 1.137 GB, free: 26.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.9063, allocations: 4 kB / 1.137 GB, free: 26.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/0.9066, allocations: 77.42 kB / 1.137 GB, free: 26.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.9067, allocations: 0 / 1.137 GB, free: 26.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.9067, allocations: 11.03 kB / 1.137 GB, free: 26.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.9067, allocations: 0 / 1.137 GB, free: 26.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.9067, allocations: 3.938 kB / 1.137 GB, free: 26.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008481/0.9076, allocations: 0.6805 MB / 1.138 GB, free: 25.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8e-05/0.9076, allocations: 129.9 kB / 1.138 GB, free: 25.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.885e-05/0.9077, allocations: 7 kB / 1.138 GB, free: 25.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.9079, allocations: 30.91 kB / 1.138 GB, free: 25.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.908, allocations: 23.28 kB / 1.138 GB, free: 25.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.908, allocations: 11.72 kB / 1.138 GB, free: 25.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000245/0.9082, allocations: 286.1 kB / 1.138 GB, free: 25.55 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9082, allocations: 0 / 1.138 GB, free: 25.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005187/0.9088, allocations: 190.2 kB / 1.138 GB, free: 25.52 MB / 0.698 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.0002034/0.909, allocations: 133.7 kB / 1.138 GB, free: 25.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009404/0.9099, allocations: 0.7158 MB / 1.139 GB, free: 25.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.91, allocations: 0 / 1.139 GB, free: 25.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002685/0.9102, allocations: 192.1 kB / 1.139 GB, free: 25.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005733/0.9108, allocations: 86.48 kB / 1.139 GB, free: 25.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.912, allocations: 1.056 MB / 1.14 GB, free: 24.48 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.9124, allocations: 0.8479 MB / 1.141 GB, free: 23.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002246/0.9126, allocations: 54.44 kB / 1.141 GB, free: 23.69 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.74e-05/0.9127, allocations: 34.59 kB / 1.141 GB, free: 23.68 MB / 0.698 GB Notification: Performance of SimCode: time 4.21e-07/0.9127, allocations: 4 kB / 1.141 GB, free: 23.68 MB / 0.698 GB Notification: Performance of Templates: time 0.008918/0.9216, allocations: 5.323 MB / 1.146 GB, free: 21.11 MB / 0.698 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)