Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.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.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.656/1.656, allocations: 289.7 MB / 302.3 MB, free: 2.168 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.000981/0.0009809, allocations: 177.2 kB / 371.6 MB, free: 3.391 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.426/1.426, allocations: 205.2 MB / 0.6309 GB, free: 11.75 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.0009583/0.0009583, allocations: 90.89 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.547e-05/3.55e-05, allocations: 4 kB / 0.8663 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2994, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9682/1.268, allocations: 140.8 MB / 1.117 GB, free: 43.39 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000338/1.268, allocations: 75.66 kB / 1.117 GB, free: 43.37 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02651/1.295, allocations: 10.6 MB / 1.128 GB, free: 37.78 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.332e-06/1.295, allocations: 4 kB / 1.128 GB, free: 37.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.409e-05/1.295, allocations: 9.031 kB / 1.128 GB, free: 37.77 MB / 0.7448 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.001041/1.296, allocations: 0.798 MB / 1.128 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/1.296, allocations: 12.03 kB / 1.129 GB, free: 37.01 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/1.296, allocations: 76.44 kB / 1.129 GB, free: 36.94 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000701/1.297, allocations: 463.9 kB / 1.129 GB, free: 36.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/1.297, allocations: 49.19 kB / 1.129 GB, free: 36.54 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.338e-05/1.297, allocations: 56.75 kB / 1.129 GB, free: 36.5 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006706/1.297, allocations: 464.9 kB / 1.13 GB, free: 36.23 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/1.298, allocations: 0 / 1.13 GB, free: 36.23 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/1.298, allocations: 20.31 kB / 1.13 GB, free: 36.23 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/1.298, allocations: 12 kB / 1.13 GB, free: 36.21 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000446/1.298, allocations: 306.8 kB / 1.13 GB, free: 36.03 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/1.3, allocations: 1.592 MB / 1.131 GB, free: 35.05 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000621/1.301, allocations: 0.8298 MB / 1.132 GB, free: 34.25 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/1.301, allocations: 182.4 kB / 1.132 GB, free: 34.14 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-05/1.301, allocations: 7.953 kB / 1.132 GB, free: 34.14 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003368/1.301, allocations: 233.7 kB / 1.133 GB, free: 33.99 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=47): time 1.623e-06/1.301, allocations: 0.5625 kB / 1.133 GB, free: 33.99 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47): time 0.0005556/1.302, allocations: 371.7 kB / 1.133 GB, free: 33.73 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/1.302, allocations: 107.2 kB / 1.133 GB, free: 33.6 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003251/1.302, allocations: 352.3 kB / 1.133 GB, free: 33.35 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/1.302, allocations: 36.83 kB / 1.133 GB, free: 33.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/1.302, allocations: 260.6 kB / 1.134 GB, free: 33.15 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.472e-05/1.302, allocations: 157.7 kB / 1.134 GB, free: 33.03 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/1.303, allocations: 10.75 kB / 1.134 GB, free: 33.03 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001099/1.303, allocations: 363 kB / 1.134 GB, free: 32.7 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/1.303, allocations: 158.7 kB / 1.134 GB, free: 32.61 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/1.303, allocations: 267.8 kB / 1.135 GB, free: 32.4 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/1.304, allocations: 238.5 kB / 1.135 GB, free: 32.23 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.304, allocations: 0 / 1.135 GB, free: 32.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007845/1.304, allocations: 0.5704 MB / 1.135 GB, free: 31.82 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002094/1.305, allocations: 0.6875 MB / 1.136 GB, free: 31.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.305, allocations: 0 / 1.136 GB, free: 31.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/1.305, allocations: 8.844 kB / 1.136 GB, free: 31.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/1.305, allocations: 84.48 kB / 1.136 GB, free: 31.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/1.305, allocations: 4.781 kB / 1.136 GB, free: 31.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/1.305, allocations: 122.6 kB / 1.136 GB, free: 30.92 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/1.305, allocations: 29.58 kB / 1.136 GB, free: 30.9 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/1.306, allocations: 8.938 kB / 1.136 GB, free: 30.89 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007236/1.306, allocations: 0.5109 MB / 1.137 GB, free: 30.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/1.306, allocations: 7.938 kB / 1.137 GB, free: 30.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.069e-06/1.306, allocations: 4 kB / 1.137 GB, free: 30.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/1.307, allocations: 79.2 kB / 1.137 GB, free: 30.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/1.307, allocations: 11.89 kB / 1.137 GB, free: 30.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004252/1.307, allocations: 116.2 kB / 1.137 GB, free: 30.38 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/1.307, allocations: 27.33 kB / 1.137 GB, free: 30.36 MB / 0.7448 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 () * 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.0001224/1.307, allocations: 134.6 kB / 1.137 GB, free: 30.24 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.705e-05/1.307, allocations: 43.58 kB / 1.137 GB, free: 30.2 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/1.307, allocations: 60.77 kB / 1.137 GB, free: 30.17 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/1.307, allocations: 4 kB / 1.137 GB, free: 30.17 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/1.307, allocations: 4.516 kB / 1.137 GB, free: 30.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/1.307, allocations: 7.469 kB / 1.137 GB, free: 30.16 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/1.309, allocations: 1.03 MB / 1.138 GB, free: 29.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.309, allocations: 0 / 1.138 GB, free: 29.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/1.309, allocations: 81.78 kB / 1.138 GB, free: 29.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/1.309, allocations: 3.953 kB / 1.138 GB, free: 29.43 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/1.309, allocations: 8.438 kB / 1.138 GB, free: 29.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/1.309, allocations: 8.703 kB / 1.138 GB, free: 29.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.309, allocations: 0 / 1.138 GB, free: 29.41 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007201/1.31, allocations: 0.6314 MB / 1.139 GB, free: 28.96 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.283e-05/1.31, allocations: 129 kB / 1.139 GB, free: 28.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.043e-05/1.31, allocations: 14.52 kB / 1.139 GB, free: 28.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/1.31, allocations: 30.91 kB / 1.139 GB, free: 28.8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.353e-05/1.31, allocations: 26.56 kB / 1.139 GB, free: 28.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/1.31, allocations: 18.23 kB / 1.139 GB, free: 28.78 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000254/1.31, allocations: 272.4 kB / 1.14 GB, free: 28.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.31, allocations: 0 / 1.14 GB, free: 28.59 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005736/1.311, allocations: 226.8 kB / 1.14 GB, free: 28.39 MB / 0.7448 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 () * 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.0002116/1.311, allocations: 131.4 kB / 1.14 GB, free: 28.26 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001012/1.312, allocations: 0.9032 MB / 1.141 GB, free: 27.56 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.312, allocations: 9.25 kB / 1.141 GB, free: 27.55 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002406/1.313, allocations: 173.8 kB / 1.141 GB, free: 27.44 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/1.313, allocations: 87.03 kB / 1.141 GB, free: 27.4 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/1.314, allocations: 0.6983 MB / 1.142 GB, free: 26.84 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/1.314, allocations: 0.8717 MB / 1.143 GB, free: 26.02 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002949/1.315, allocations: 79.66 kB / 1.143 GB, free: 25.96 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.796e-05/1.315, allocations: 34.77 kB / 1.143 GB, free: 25.93 MB / 0.7448 GB Notification: Performance of SimCode: time 3.3e-07/1.315, allocations: 0 / 1.143 GB, free: 25.93 MB / 0.7448 GB Notification: Performance of Templates: time 0.01405/1.329, allocations: 7.074 MB / 1.15 GB, free: 21.92 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)