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.691/1.691, allocations: 292.3 MB / 308.1 MB, free: 4.27 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.001324/0.001325, allocations: 199.6 kB / 376.9 MB, free: 1.801 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.719/1.719, allocations: 205.1 MB / 0.6354 GB, free: 9.812 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.001005/0.001005, allocations: 98.94 kB / 0.748 GB, free: 61.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3361, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.004059/0.3402, allocations: 2.189 MB / 0.9844 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002827/0.3431, allocations: 1.678 MB / 0.986 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002659/0.3433, allocations: 4 kB / 0.986 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.3437, allocations: 67.38 kB / 0.9861 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003581/0.344, allocations: 75.44 kB / 0.9862 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008075/0.3449, allocations: 371.5 kB / 0.9865 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006977/0.3456, allocations: 0.6957 MB / 0.9872 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004993/0.3461, allocations: 317.3 kB / 0.9875 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.3463, allocations: 246.9 kB / 0.9877 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002976/0.3466, allocations: 282.5 kB / 0.988 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.123e-05/0.3467, allocations: 44 kB / 0.988 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.3468, allocations: 47.98 kB / 0.9881 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.347, allocations: 119.5 kB / 0.9882 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002761/0.3472, allocations: 290.3 kB / 0.9885 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0008318/0.3481, allocations: 0.8334 MB / 0.9893 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3481, allocations: 0 / 0.9893 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3481, allocations: 0 / 0.9893 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.3481, allocations: 0 / 0.9893 GB, free: 3.121 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001766/0.3499, allocations: 0.9866 MB / 0.9903 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3499, allocations: 8.031 kB / 0.9903 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.3501, allocations: 80.08 kB / 0.9903 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006041/0.3507, allocations: 430.9 kB / 0.9907 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.443e-05/0.3508, allocations: 41.38 kB / 0.9908 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.807e-05/0.3509, allocations: 68.36 kB / 0.9909 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008228/0.3517, allocations: 499.5 kB / 0.9913 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.3517, allocations: 192 / 0.9913 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.256e-05/0.3518, allocations: 23.94 kB / 0.9914 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.3518, allocations: 12 kB / 0.9914 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006703/0.3525, allocations: 347.8 kB / 0.9917 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002187/0.3547, allocations: 1.566 MB / 0.9932 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.3557, allocations: 0.874 MB / 0.9941 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003682/0.3561, allocations: 216.8 kB / 0.9943 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-05/0.3562, allocations: 15.91 kB / 0.9943 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005706/0.3567, allocations: 256.8 kB / 0.9945 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=47): time 5.38e-06/0.3568, allocations: 4 kB / 0.9946 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=47): time 0.00108/0.3578, allocations: 0.5336 MB / 0.9951 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.951e-05/0.3579, allocations: 111.2 kB / 0.9952 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004942/0.3584, allocations: 417.8 kB / 0.9956 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/0.3585, allocations: 37.7 kB / 0.9956 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.3587, allocations: 261 kB / 0.9959 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.3589, allocations: 157.8 kB / 0.996 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.359, allocations: 106.2 kB / 0.9961 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3592, allocations: 358.8 kB / 0.9965 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004154/0.3596, allocations: 191 kB / 0.9966 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004699/0.3601, allocations: 283.4 kB / 0.9969 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007256/0.3608, allocations: 461.5 kB / 0.9973 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3609, allocations: 0 / 0.9973 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001089/0.362, allocations: 0.6276 MB / 0.998 GB, free: 9.77 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.684e-05/0.362, allocations: 71.39 kB / 0.998 GB, free: 9.688 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.3621, allocations: 4 kB / 0.998 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3621, allocations: 0 / 0.998 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/0.3624, allocations: 87.83 kB / 0.9981 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.3625, allocations: 0 / 0.9981 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005062/0.363, allocations: 111.5 kB / 0.9982 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.968e-05/0.363, allocations: 23.98 kB / 0.9982 GB, free: 9.465 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004603/0.3635, allocations: 293.2 kB / 0.9985 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003498/0.3638, allocations: 267.4 kB / 0.9988 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005316/0.3644, allocations: 409.5 kB / 0.9992 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.3644, allocations: 0 / 0.9992 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0008474/0.3653, allocations: 0.5886 MB / 0.9997 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.786e-05/0.3653, allocations: 67.39 kB / 0.9998 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3653, allocations: 4 kB / 0.9998 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.3653, allocations: 4 kB / 0.9998 GB, free: 7.754 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.3656, allocations: 75.84 kB / 0.9999 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3656, allocations: 4 kB / 0.9999 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004719/0.3661, allocations: 103.6 kB / 1 GB, free: 7.574 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/0.3661, allocations: 23.98 kB / 1 GB, free: 7.551 MB / 0.7292 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,booPul.y,$PRE.booPul.y,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002413/0.3664, allocations: 212.2 kB / 1 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.737e-05/0.3665, allocations: 51.38 kB / 1 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.3666, allocations: 49.19 kB / 1 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.3666, allocations: 8 kB / 1 GB, free: 7.23 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.3666, allocations: 4 kB / 1 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.3667, allocations: 3.984 kB / 1 GB, free: 7.223 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.3684, allocations: 1.064 MB / 1.001 GB, free: 6.102 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3684, allocations: 4 kB / 1.001 GB, free: 6.098 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/0.3687, allocations: 79.89 kB / 1.001 GB, free: 6.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3688, allocations: 0 / 1.001 GB, free: 6.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.3688, allocations: 15.94 kB / 1.001 GB, free: 6.004 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.3688, allocations: 0 / 1.001 GB, free: 6.004 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3688, allocations: 0 / 1.001 GB, free: 6.004 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005834/0.3747, allocations: 3.617 MB / 1.005 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.3748, allocations: 136.4 kB / 1.005 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/0.3748, allocations: 8.188 kB / 1.005 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.375, allocations: 24.09 kB / 1.005 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.071e-05/0.3751, allocations: 32.39 kB / 1.005 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.3751, allocations: 15.98 kB / 1.005 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003539/0.3755, allocations: 291.2 kB / 1.005 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3755, allocations: 4 kB / 1.005 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009237/0.3764, allocations: 283.2 kB / 1.006 GB, free: 1.449 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002469/0.3767, allocations: 131.1 kB / 1.006 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001472/0.3782, allocations: 0.935 MB / 1.007 GB, free: 336 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3782, allocations: 0 / 1.007 GB, free: 336 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003196/0.3785, allocations: 194.4 kB / 1.007 GB, free: 144 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006237/0.3792, allocations: 97.55 kB / 1.007 GB, free: 48 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.3811, allocations: 1.431 MB / 1.008 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.3815, allocations: 0.8632 MB / 1.009 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002223/0.3817, allocations: 63.42 kB / 1.009 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.3819, allocations: 43.42 kB / 1.009 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/0.3819, allocations: 3.938 kB / 1.009 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of Templates: time 0.01313/0.395, allocations: 7.813 MB / 1.017 GB, free: 5.82 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)