Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.711/1.711, allocations: 292.3 MB / 308.1 MB, free: 4.301 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.001261/0.001261, allocations: 190.4 kB / 376.9 MB, free: 1.797 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.754/1.754, allocations: 205.1 MB / 0.6354 GB, free: 9.777 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.00107/0.00107, allocations: 93.45 kB / 0.748 GB, free: 61.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 55.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3456, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.003825/0.3495, allocations: 2.103 MB / 0.9843 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002747/0.3523, allocations: 1.585 MB / 0.9858 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002823/0.3526, allocations: 8 kB / 0.9858 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.3529, allocations: 55.44 kB / 0.9859 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003593/0.3533, allocations: 59.52 kB / 0.986 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006641/0.354, allocations: 287.6 kB / 0.9862 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005784/0.3546, allocations: 0.6138 MB / 0.9868 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000468/0.355, allocations: 300.5 kB / 0.9871 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.3553, allocations: 211 kB / 0.9873 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002659/0.3556, allocations: 246.6 kB / 0.9876 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.185e-05/0.3557, allocations: 36 kB / 0.9876 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.3558, allocations: 47.92 kB / 0.9876 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.3559, allocations: 111.5 kB / 0.9877 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.3561, allocations: 246.5 kB / 0.988 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0007124/0.3568, allocations: 0.7594 MB / 0.9887 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3568, allocations: 7.938 kB / 0.9887 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3569, allocations: 4 kB / 0.9887 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.37e-05/0.3569, allocations: 0 / 0.9887 GB, free: 3.676 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001655/0.3585, allocations: 0.9108 MB / 0.9896 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.3586, allocations: 8.031 kB / 0.9896 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.3587, allocations: 72.17 kB / 0.9897 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006196/0.3594, allocations: 419 kB / 0.9901 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.899e-05/0.3594, allocations: 37.38 kB / 0.9901 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.725e-05/0.3595, allocations: 64.2 kB / 0.9902 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000765/0.3603, allocations: 475.5 kB / 0.9906 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.3603, allocations: 192 / 0.9906 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.239e-05/0.3604, allocations: 23.88 kB / 0.9907 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.3604, allocations: 12 kB / 0.9907 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000624/0.361, allocations: 319.8 kB / 0.991 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002119/0.3632, allocations: 1.461 MB / 0.9924 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009171/0.3641, allocations: 0.8616 MB / 0.9932 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000327/0.3644, allocations: 207.8 kB / 0.9934 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.422e-05/0.3645, allocations: 8.609 kB / 0.9935 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005203/0.365, allocations: 219.7 kB / 0.9937 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=41): time 5.591e-06/0.365, allocations: 4 kB / 0.9937 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=41): time 0.0009612/0.366, allocations: 492.2 kB / 0.9941 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/0.3661, allocations: 110.8 kB / 0.9942 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004272/0.3665, allocations: 393.6 kB / 0.9946 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.3666, allocations: 37.7 kB / 0.9947 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.3668, allocations: 260.3 kB / 0.9949 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.3669, allocations: 142 kB / 0.995 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.367, allocations: 86.12 kB / 0.9951 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3672, allocations: 354.8 kB / 0.9955 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.3675, allocations: 162.5 kB / 0.9956 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/0.3679, allocations: 266.8 kB / 0.9959 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006295/0.3686, allocations: 395.1 kB / 0.9962 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3686, allocations: 0 / 0.9962 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000898/0.3695, allocations: 0.5237 MB / 0.9968 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.072e-05/0.3696, allocations: 37.7 kB / 0.9968 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.3696, allocations: 0 / 0.9968 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.3696, allocations: 7.938 kB / 0.9968 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003561/0.37, allocations: 87.83 kB / 0.9969 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.37, allocations: 8.219 kB / 0.9969 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.3704, allocations: 83.52 kB / 0.997 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.546e-05/0.3704, allocations: 27.97 kB / 0.997 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003428/0.3708, allocations: 253 kB / 0.9972 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002783/0.3711, allocations: 242 kB / 0.9975 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004329/0.3715, allocations: 350.5 kB / 0.9978 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/0.3715, allocations: 4 kB / 0.9978 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0006622/0.3722, allocations: 478.4 kB / 0.9983 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.3722, allocations: 41.69 kB / 0.9983 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/0.3722, allocations: 0 / 0.9983 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.17e-06/0.3722, allocations: 8.219 kB / 0.9983 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.3725, allocations: 75.91 kB / 0.9984 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.3725, allocations: 11.92 kB / 0.9984 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/0.3729, allocations: 67.64 kB / 0.9985 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.3729, allocations: 23.98 kB / 0.9985 GB, free: 9.129 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * 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.0001708/0.3731, allocations: 212.1 kB / 0.9987 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.752e-05/0.3732, allocations: 51.44 kB / 0.9987 GB, free: 8.863 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.3733, allocations: 48.77 kB / 0.9988 GB, free: 8.816 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.3733, allocations: 7.938 kB / 0.9988 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.3733, allocations: 0 / 0.9988 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.3733, allocations: 3.984 kB / 0.9988 GB, free: 8.805 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.3747, allocations: 0.9953 MB / 0.9998 GB, free: 7.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.3747, allocations: 0 / 0.9998 GB, free: 7.754 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/0.375, allocations: 75.83 kB / 0.9998 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3751, allocations: 0 / 0.9998 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.3751, allocations: 12 kB / 0.9998 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.3751, allocations: 0 / 0.9998 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3751, allocations: 4 kB / 0.9999 GB, free: 7.664 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005315/0.3804, allocations: 3.523 MB / 1.003 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.955e-05/0.3806, allocations: 124.5 kB / 1.003 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/0.3806, allocations: 8 kB / 1.003 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.3808, allocations: 31.91 kB / 1.003 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.3809, allocations: 15.97 kB / 1.003 GB, free: 3.797 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.3809, allocations: 20 kB / 1.003 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003168/0.3812, allocations: 279.2 kB / 1.004 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.7e-07/0.3813, allocations: 0 / 1.004 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008711/0.3821, allocations: 247.2 kB / 1.004 GB, free: 3.27 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: 4 ($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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003431/0.3825, allocations: 115.2 kB / 1.004 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.3838, allocations: 0.7151 MB / 1.005 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.3838, allocations: 0 / 1.005 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.3841, allocations: 179.4 kB / 1.005 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006564/0.3848, allocations: 94.31 kB / 1.005 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.3867, allocations: 1.338 MB / 1.006 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.3871, allocations: 0.8591 MB / 1.007 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00025/0.3874, allocations: 55.33 kB / 1.007 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.3875, allocations: 47.42 kB / 1.007 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.3875, allocations: 0 / 1.007 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of Templates: time 0.01182/0.3994, allocations: 6.374 MB / 1.014 GB, free: 9.441 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)