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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002226/0.002226, allocations: 196.1 kB / 16.53 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.825/1.825, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 75.06 kB / 0.6715 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3225, allocations: 114.5 MB / 0.7834 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.004111/0.3267, allocations: 2.161 MB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002874/0.3296, allocations: 1.678 MB / 0.7871 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005189/0.3302, allocations: 8 kB / 0.7871 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003462/0.3305, allocations: 86.98 kB / 0.7872 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005921/0.3311, allocations: 95.12 kB / 0.7873 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.3322, allocations: 410 kB / 0.7877 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001002/0.3332, allocations: 0.7739 MB / 0.7885 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005789/0.3338, allocations: 329.3 kB / 0.7888 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003926/0.3342, allocations: 290.9 kB / 0.7891 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004393/0.3347, allocations: 306.5 kB / 0.7893 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.3348, allocations: 84 kB / 0.7894 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001898/0.335, allocations: 95.98 kB / 0.7895 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.3352, allocations: 155.5 kB / 0.7897 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002932/0.3355, allocations: 326.3 kB / 0.79 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009101/0.3364, allocations: 0.8725 MB / 0.7908 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3364, allocations: 0 / 0.7908 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3364, allocations: 0 / 0.7908 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.605e-05/0.3364, allocations: 4 kB / 0.7908 GB, free: 5.773 MB / 0.6075 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.001795/0.3382, allocations: 0.9865 MB / 0.7918 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.3383, allocations: 8.031 kB / 0.7918 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.3385, allocations: 72.19 kB / 0.7919 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006295/0.3391, allocations: 438.8 kB / 0.7923 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.203e-05/0.3392, allocations: 49.38 kB / 0.7923 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.744e-05/0.3393, allocations: 56.38 kB / 0.7924 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008673/0.3401, allocations: 499.5 kB / 0.7929 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.3402, allocations: 4.172 kB / 0.7929 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.692e-05/0.3402, allocations: 19.94 kB / 0.7929 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.3402, allocations: 12 kB / 0.7929 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007033/0.3409, allocations: 347.8 kB / 0.7932 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002375/0.3433, allocations: 1.566 MB / 0.7948 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.3444, allocations: 0.8737 MB / 0.7956 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003792/0.3448, allocations: 219.1 kB / 0.7958 GB, free: 368 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.793e-05/0.3449, allocations: 11.94 kB / 0.7958 GB, free: 356 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005932/0.3455, allocations: 256.9 kB / 0.7961 GB, free: 88 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 3.246e-06/0.3455, allocations: 0 / 0.7961 GB, free: 88 kB / 0.6075 GB Notification: Performance of matching and sorting (n=47): time 0.001172/0.3467, allocations: 0.5336 MB / 0.7966 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.323e-05/0.3468, allocations: 115.2 kB / 0.7967 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004977/0.3473, allocations: 409.9 kB / 0.7971 GB, free: 15 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.468e-05/0.3473, allocations: 45.69 kB / 0.7972 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.3475, allocations: 257.1 kB / 0.7974 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.3477, allocations: 153.8 kB / 0.7975 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.3479, allocations: 102.2 kB / 0.7976 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3481, allocations: 358.8 kB / 0.798 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004419/0.3485, allocations: 199 kB / 0.7982 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/0.3491, allocations: 287.4 kB / 0.7984 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000812/0.3499, allocations: 453.5 kB / 0.7989 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3499, allocations: 3.938 kB / 0.7989 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001184/0.3511, allocations: 0.6236 MB / 0.7995 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.726e-05/0.3512, allocations: 74.05 kB / 0.7996 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.3512, allocations: 4 kB / 0.7996 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.3512, allocations: 8.156 kB / 0.7996 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003699/0.3516, allocations: 91.77 kB / 0.7997 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.3516, allocations: 4 kB / 0.7997 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005547/0.3522, allocations: 99.44 kB / 0.7998 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.926e-05/0.3523, allocations: 27.98 kB / 0.7998 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004714/0.3528, allocations: 301.2 kB / 0.8001 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000384/0.3531, allocations: 255.4 kB / 0.8003 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005926/0.3537, allocations: 413.6 kB / 0.8007 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.949e-06/0.3538, allocations: 3.984 kB / 0.8007 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001007/0.3548, allocations: 0.573 MB / 0.8013 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.09e-05/0.3548, allocations: 71.39 kB / 0.8013 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3549, allocations: 4.156 kB / 0.8013 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.835e-06/0.3549, allocations: 4 kB / 0.8014 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.3552, allocations: 83.84 kB / 0.8014 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3552, allocations: 4 kB / 0.8014 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005325/0.3557, allocations: 91.59 kB / 0.8015 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.634e-05/0.3558, allocations: 23.98 kB / 0.8015 GB, free: 10.23 MB / 0.6231 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.0002076/0.356, allocations: 216.1 kB / 0.8018 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.032e-05/0.3561, allocations: 55.28 kB / 0.8018 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.3562, allocations: 57.17 kB / 0.8019 GB, free: 9.898 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.3562, allocations: 4 kB / 0.8019 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.3562, allocations: 0 / 0.8019 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.3562, allocations: 0 / 0.8019 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.3579, allocations: 1.076 MB / 0.8029 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3579, allocations: 0 / 0.8029 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003476/0.3582, allocations: 71.89 kB / 0.803 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.3582, allocations: 0 / 0.803 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/0.3583, allocations: 12 kB / 0.803 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.3583, allocations: 4 kB / 0.803 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.3583, allocations: 11.92 kB / 0.803 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.3595, allocations: 0.6893 MB / 0.8037 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.3597, allocations: 128.5 kB / 0.8038 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.348e-05/0.3597, allocations: 15.98 kB / 0.8038 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.36, allocations: 19.98 kB / 0.8038 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.3601, allocations: 24.41 kB / 0.8039 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/0.3601, allocations: 24.11 kB / 0.8039 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003506/0.3605, allocations: 291.2 kB / 0.8042 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3605, allocations: 0 / 0.8042 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006966/0.3612, allocations: 223.2 kB / 0.8044 GB, free: 7.23 MB / 0.6231 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.0002615/0.3614, allocations: 123.2 kB / 0.8045 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001786/0.3632, allocations: 0.9578 MB / 0.8054 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3633, allocations: 3.938 kB / 0.8054 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.3636, allocations: 195 kB / 0.8056 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006372/0.3643, allocations: 100.4 kB / 0.8057 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.3661, allocations: 0.9393 MB / 0.8066 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005784/0.3666, allocations: 0.8591 MB / 0.8075 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002136/0.3669, allocations: 55.44 kB / 0.8075 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.604e-05/0.367, allocations: 39.44 kB / 0.8076 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.367, allocations: 0 / 0.8076 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of Templates: time 0.01565/0.3826, allocations: 7.121 MB / 0.8145 GB, free: 12.8 MB / 0.6387 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)