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.664/1.664, allocations: 285.6 MB / 293.1 MB, free: 10.14 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.001198/0.001198, allocations: 184.3 kB / 361.4 MB, free: 6.805 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.888/1.888, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0008325/0.0008325, allocations: 99.66 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.353e-05/2.355e-05, allocations: 8 kB / 0.8518 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7089/0.7089, allocations: 115.3 MB / 0.9644 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1963/0.9053, allocations: 139.1 MB / 1.1 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.9055, allocations: 75.95 kB / 1.1 GB, free: 0.668 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02448/0.93, allocations: 9.237 MB / 1.109 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9301, allocations: 0 / 1.109 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.02e-05/0.9301, allocations: 12 kB / 1.109 GB, free: 7.504 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.001149/0.9313, allocations: 0.7486 MB / 1.11 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.9313, allocations: 8.031 kB / 1.11 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.9315, allocations: 72.19 kB / 1.11 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007578/0.9322, allocations: 440.6 kB / 1.111 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.9323, allocations: 20 kB / 1.111 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.036e-05/0.9324, allocations: 36 kB / 1.111 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004697/0.9328, allocations: 258.5 kB / 1.111 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006372/0.9335, allocations: 377.2 kB / 1.111 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.9335, allocations: 3.938 kB / 1.111 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.9336, allocations: 0 / 1.111 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.9336, allocations: 12 kB / 1.111 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/0.9356, allocations: 1.39 MB / 1.113 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006759/0.9363, allocations: 0.789 MB / 1.113 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.9365, allocations: 160.8 kB / 1.113 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.9365, allocations: 4.625 kB / 1.114 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003386/0.9369, allocations: 200.7 kB / 1.114 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 1.573e-06/0.9369, allocations: 0 / 1.114 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.0005711/0.9375, allocations: 312.9 kB / 1.114 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.9375, allocations: 106.8 kB / 1.114 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.9378, allocations: 282.4 kB / 1.114 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.9379, allocations: 29.7 kB / 1.114 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.9381, allocations: 264.8 kB / 1.115 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.396e-05/0.9382, allocations: 130 kB / 1.115 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.9382, allocations: 4 kB / 1.115 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.9384, allocations: 353.2 kB / 1.115 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.9386, allocations: 124.9 kB / 1.115 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.9388, allocations: 204.4 kB / 1.115 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.9392, allocations: 152.6 kB / 1.116 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.9392, allocations: 0 / 1.116 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007061/0.9399, allocations: 418.6 kB / 1.116 GB, free: 316 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002596/0.9402, allocations: 0.5607 MB / 1.117 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.9402, allocations: 0 / 1.117 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.9403, allocations: 7.953 kB / 1.117 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003584/0.9406, allocations: 83.89 kB / 1.117 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.9406, allocations: 7.938 kB / 1.117 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.941, allocations: 75.7 kB / 1.117 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.941, allocations: 23.98 kB / 1.117 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.304e-06/0.9411, allocations: 7.469 kB / 1.117 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000633/0.9417, allocations: 339.8 kB / 1.117 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.9417, allocations: 4 kB / 1.117 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.989e-06/0.9417, allocations: 4 kB / 1.117 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.942, allocations: 65.59 kB / 1.117 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.942, allocations: 7.938 kB / 1.117 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.9423, allocations: 75.8 kB / 1.117 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.9423, allocations: 12 kB / 1.117 GB, free: 15.01 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.0001156/0.9425, allocations: 119 kB / 1.117 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/0.9425, allocations: 43.53 kB / 1.117 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.855e-05/0.9426, allocations: 48.56 kB / 1.117 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.9426, allocations: 4 kB / 1.117 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.9427, allocations: 0 / 1.117 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.9427, allocations: 0 / 1.117 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.9438, allocations: 0.8817 MB / 1.118 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.9438, allocations: 0 / 1.118 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.9442, allocations: 79.89 kB / 1.118 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.9442, allocations: 4 kB / 1.118 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.9442, allocations: 2.062 kB / 1.118 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.9442, allocations: 4 kB / 1.118 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.9442, allocations: 0 / 1.118 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006794/0.9449, allocations: 0.5551 MB / 1.119 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.102e-05/0.945, allocations: 124.6 kB / 1.119 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/0.9451, allocations: 0 / 1.119 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.9453, allocations: 19.98 kB / 1.119 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.9453, allocations: 27.95 kB / 1.119 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.9454, allocations: 8 kB / 1.119 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002111/0.9456, allocations: 220.6 kB / 1.119 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9456, allocations: 0 / 1.119 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005351/0.9461, allocations: 171.2 kB / 1.119 GB, free: 12.63 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.0002217/0.9464, allocations: 134.8 kB / 1.12 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008464/0.9472, allocations: 0.6279 MB / 1.12 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.9472, allocations: 0 / 1.12 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.9474, allocations: 148.6 kB / 1.12 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005034/0.9479, allocations: 72.52 kB / 1.12 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.949, allocations: 0.6465 MB / 1.121 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.9494, allocations: 0.8561 MB / 1.122 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002863/0.9497, allocations: 69.58 kB / 1.122 GB, free: 10 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.134e-05/0.9498, allocations: 35.42 kB / 1.122 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of SimCode: time 3.31e-07/0.9498, allocations: 7.938 kB / 1.122 GB, free: 9.965 MB / 0.7292 GB Notification: Performance of Templates: time 0.009478/0.9593, allocations: 5.176 MB / 1.127 GB, free: 4.914 MB / 0.7292 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)