Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.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.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.925/4.925, allocations: 0.5623 GB / 0.5775 GB, free: 3.363 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.002516/0.002515, allocations: 363 kB / 0.6446 GB, free: 185.6 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.143/4.143, allocations: 410.7 MB / 1.113 GB, free: 5.965 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.001904/0.001904, allocations: 179.9 kB / 1.226 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005291/0.0005293, allocations: 19.98 kB / 1.349 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.747/0.7476, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2046/0.9522, allocations: 139.7 MB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.9525, allocations: 82.2 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04549/0.998, allocations: 10.61 MB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.555e-06/0.9981, allocations: 1.656 kB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.898e-05/0.9981, allocations: 12 kB / 1.608 GB, free: 133.9 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002116/1, allocations: 0.8911 MB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/1, allocations: 11.62 kB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002457/1.001, allocations: 75.16 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/1.002, allocations: 468.3 kB / 1.61 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.709e-05/1.002, allocations: 51.69 kB / 1.61 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/1.002, allocations: 56 kB / 1.61 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/1.003, allocations: 0.4942 MB / 1.61 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/1.003, allocations: 1.734 kB / 1.61 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.43e-05/1.003, allocations: 24 kB / 1.61 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/1.003, allocations: 12 kB / 1.61 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/1.004, allocations: 359.1 kB / 1.611 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003501/1.008, allocations: 1.588 MB / 1.612 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/1.009, allocations: 0.8999 MB / 1.613 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005489/1.01, allocations: 214.8 kB / 1.613 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.584e-05/1.01, allocations: 4 kB / 1.613 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007057/1.011, allocations: 271.4 kB / 1.613 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=47): time 3.417e-06/1.011, allocations: 0 / 1.613 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=47): time 0.0018/1.013, allocations: 0.5573 MB / 1.614 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/1.013, allocations: 107.2 kB / 1.614 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005911/1.013, allocations: 397.9 kB / 1.615 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001338/1.013, allocations: 42.36 kB / 1.615 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/1.014, allocations: 262.2 kB / 1.615 GB, free: 126.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/1.014, allocations: 149.8 kB / 1.615 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-05/1.014, allocations: 16 kB / 1.615 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001086/1.014, allocations: 355.4 kB / 1.615 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006675/1.015, allocations: 195 kB / 1.615 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006903/1.015, allocations: 291.4 kB / 1.616 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006763/1.016, allocations: 272.1 kB / 1.616 GB, free: 125.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.016, allocations: 0.5 kB / 1.616 GB, free: 125.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001744/1.018, allocations: 0.6317 MB / 1.617 GB, free: 125 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/1.018, allocations: 208.4 kB / 1.617 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/1.018, allocations: 0 / 1.617 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/1.018, allocations: 4 kB / 1.617 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008546/1.019, allocations: 96.7 kB / 1.617 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.508e-05/1.019, allocations: 4 kB / 1.617 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/1.021, allocations: 140.5 kB / 1.617 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002303/1.021, allocations: 23.98 kB / 1.617 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/1.021, allocations: 4 kB / 1.617 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002353/1.023, allocations: 0.5289 MB / 1.618 GB, free: 123.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/1.023, allocations: 4 kB / 1.618 GB, free: 123.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/1.024, allocations: 7.953 kB / 1.618 GB, free: 123.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008208/1.024, allocations: 71.91 kB / 1.618 GB, free: 123.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/1.024, allocations: 4 kB / 1.618 GB, free: 123.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/1.026, allocations: 114 kB / 1.618 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/1.026, allocations: 27.98 kB / 1.618 GB, free: 123.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0006583/1.027, allocations: 253 kB / 1.618 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002191/1.027, allocations: 50.03 kB / 1.618 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/1.027, allocations: 61.17 kB / 1.618 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/1.027, allocations: 8.703 kB / 1.618 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/1.027, allocations: 0 / 1.618 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/1.028, allocations: 0 / 1.618 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003473/1.031, allocations: 1.087 MB / 1.619 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/1.031, allocations: 0 / 1.619 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/1.032, allocations: 79.89 kB / 1.619 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/1.032, allocations: 4 kB / 1.619 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.256e-05/1.032, allocations: 12 kB / 1.619 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/1.032, allocations: 0 / 1.619 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.032, allocations: 0.8438 kB / 1.619 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002689/1.035, allocations: 0.7157 MB / 1.62 GB, free: 121.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/1.035, allocations: 136.3 kB / 1.62 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/1.035, allocations: 13.5 kB / 1.62 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00063/1.036, allocations: 28.89 kB / 1.62 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/1.036, allocations: 28.39 kB / 1.62 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.668e-05/1.036, allocations: 16.89 kB / 1.62 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006377/1.037, allocations: 279.8 kB / 1.621 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.022e-06/1.037, allocations: 0 / 1.621 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001502/1.039, allocations: 216.2 kB / 1.621 GB, free: 120.7 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: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003715/1.039, allocations: 139.9 kB / 1.621 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003385/1.042, allocations: 0.9508 MB / 1.622 GB, free: 119.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/1.042, allocations: 4.781 kB / 1.622 GB, free: 119.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0008717/1.043, allocations: 207.9 kB / 1.622 GB, free: 119.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/1.045, allocations: 89.53 kB / 1.622 GB, free: 119.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/1.048, allocations: 1.116 MB / 1.623 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/1.049, allocations: 0.8785 MB / 1.624 GB, free: 117.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0006595/1.05, allocations: 56.25 kB / 1.624 GB, free: 117.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/1.05, allocations: 35.44 kB / 1.624 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.813e-06/1.05, allocations: 0 / 1.624 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.02801/1.078, allocations: 6.456 MB / 1.63 GB, free: 110.9 MB / 0.8542 GB