Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.96/4.96, allocations: 0.5623 GB / 0.5775 GB, free: 3.359 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002558/0.002557, allocations: 354.4 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.212/4.212, allocations: 410.7 MB / 1.113 GB, free: 6.02 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001791/0.001791, allocations: 184.4 kB / 1.226 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005128/0.000513, allocations: 12 kB / 1.349 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7354/0.736, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2041/0.9402, allocations: 139.7 MB / 1.598 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.9405, allocations: 80.52 kB / 1.598 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03786/0.9784, allocations: 9.313 MB / 1.607 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9785, allocations: 0 / 1.607 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.783e-05/0.9785, allocations: 12 kB / 1.607 GB, free: 135.3 MB / 0.8542 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.002047/0.9806, allocations: 0.8291 MB / 1.608 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.9806, allocations: 11.62 kB / 1.608 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002736/0.9809, allocations: 72.31 kB / 1.608 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.9821, allocations: 448.2 kB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.884e-05/0.9821, allocations: 40.98 kB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.9823, allocations: 52 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.9835, allocations: 481.3 kB / 1.609 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.9836, allocations: 0 / 1.609 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.37e-05/0.9836, allocations: 20 kB / 1.609 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.9837, allocations: 12.5 kB / 1.609 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.9847, allocations: 343.5 kB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003092/0.9878, allocations: 1.485 MB / 1.611 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.9892, allocations: 0.8783 MB / 1.611 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005064/0.9897, allocations: 202.8 kB / 1.612 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.824e-05/0.9898, allocations: 12.58 kB / 1.612 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006659/0.9904, allocations: 234 kB / 1.612 GB, free: 130 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=43): time 3.596e-06/0.9905, allocations: 0 / 1.612 GB, free: 130 MB / 0.8542 GB Notification: Performance of matching and sorting (n=43): time 0.001608/0.9921, allocations: 0.5144 MB / 1.612 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.9922, allocations: 110.8 kB / 1.612 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005577/0.9927, allocations: 394.6 kB / 1.613 GB, free: 129 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.48e-05/0.9928, allocations: 37.69 kB / 1.613 GB, free: 129 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.993, allocations: 257.4 kB / 1.613 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.9932, allocations: 141.9 kB / 1.613 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.9932, allocations: 12.59 kB / 1.613 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.779e-05/0.9933, allocations: 355.5 kB / 1.614 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00054/0.9939, allocations: 166.9 kB / 1.614 GB, free: 128 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005755/0.9945, allocations: 245 kB / 1.614 GB, free: 127.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005647/0.9951, allocations: 217.7 kB / 1.614 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.9951, allocations: 0.625 kB / 1.614 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001434/0.9965, allocations: 0.5269 MB / 1.615 GB, free: 127 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.54e-05/0.9966, allocations: 159.8 kB / 1.615 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.9967, allocations: 0 / 1.615 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.9967, allocations: 5.531 kB / 1.615 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/0.9974, allocations: 79.91 kB / 1.615 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.9974, allocations: 9.297 kB / 1.615 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000717/0.9981, allocations: 90.89 kB / 1.615 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.008e-05/0.9982, allocations: 19.98 kB / 1.615 GB, free: 126.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.9982, allocations: 8.625 kB / 1.615 GB, free: 126.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009915/0.9992, allocations: 420.2 kB / 1.616 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.9992, allocations: 0 / 1.616 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.9993, allocations: 4 kB / 1.616 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005002/0.9998, allocations: 75.86 kB / 1.616 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.9998, allocations: 0 / 1.616 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006133/1, allocations: 84.36 kB / 1.616 GB, free: 126.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.981e-05/1, allocations: 19.98 kB / 1.616 GB, free: 126.1 MB / 0.8542 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.0004063/1.001, allocations: 249 kB / 1.616 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-05/1.001, allocations: 52.38 kB / 1.616 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/1.001, allocations: 58.92 kB / 1.616 GB, free: 125.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/1.001, allocations: 7.953 kB / 1.616 GB, free: 125.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.001, allocations: 0 / 1.616 GB, free: 125.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/1.001, allocations: 0 / 1.616 GB, free: 125.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/1.003, allocations: 1.022 MB / 1.617 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.003, allocations: 3.953 kB / 1.617 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006449/1.004, allocations: 82.3 kB / 1.617 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/1.004, allocations: 0 / 1.617 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-05/1.004, allocations: 8 kB / 1.617 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/1.004, allocations: 0 / 1.617 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.004, allocations: 0 / 1.617 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/1.006, allocations: 0.6762 MB / 1.618 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/1.006, allocations: 128.5 kB / 1.618 GB, free: 123.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.195e-05/1.006, allocations: 15.47 kB / 1.618 GB, free: 123.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/1.006, allocations: 27.92 kB / 1.618 GB, free: 123.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/1.006, allocations: 27.95 kB / 1.618 GB, free: 123.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/1.006, allocations: 12 kB / 1.618 GB, free: 123.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004127/1.007, allocations: 279.2 kB / 1.618 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.01e-07/1.007, allocations: 0.8438 kB / 1.618 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007954/1.008, allocations: 187.3 kB / 1.618 GB, free: 123.2 MB / 0.8542 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.000229/1.008, allocations: 132.6 kB / 1.619 GB, free: 123 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001763/1.01, allocations: 0.7193 MB / 1.619 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.01, allocations: 0 / 1.619 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004944/1.01, allocations: 182.6 kB / 1.619 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000914/1.011, allocations: 92.62 kB / 1.62 GB, free: 122 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/1.013, allocations: 1.058 MB / 1.621 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/1.013, allocations: 0.8612 MB / 1.621 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004104/1.014, allocations: 59.2 kB / 1.621 GB, free: 120 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/1.014, allocations: 43.42 kB / 1.621 GB, free: 120 MB / 0.8542 GB Notification: Performance of SimCode: time 1.032e-06/1.014, allocations: 2.188 kB / 1.621 GB, free: 120 MB / 0.8542 GB Notification: Performance of Templates: time 0.01555/1.03, allocations: 5.233 MB / 1.627 GB, free: 114.9 MB / 0.8542 GB