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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 108 kB / 15.61 MB, free: 152 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.0018/0.0018, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.652/1.652, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.853/1.853, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001635/0.001635, allocations: 74.16 kB / 0.6715 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3284, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.004156/0.3326, allocations: 2.077 MB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002933/0.3356, allocations: 1.581 MB / 0.787 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004541/0.3362, allocations: 11.94 kB / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003151/0.3365, allocations: 83.06 kB / 0.787 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003879/0.3369, allocations: 95.17 kB / 0.7871 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007373/0.3376, allocations: 306.5 kB / 0.7874 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006796/0.3383, allocations: 0.6686 MB / 0.7881 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004668/0.3388, allocations: 312.5 kB / 0.7884 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.3391, allocations: 251 kB / 0.7886 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003527/0.3394, allocations: 278.6 kB / 0.7889 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.439e-05/0.3395, allocations: 75.94 kB / 0.789 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.3397, allocations: 84 kB / 0.789 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.3398, allocations: 135.6 kB / 0.7892 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000228/0.34, allocations: 294.4 kB / 0.7894 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007672/0.3408, allocations: 0.7906 MB / 0.7902 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3408, allocations: 0 / 0.7902 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3408, allocations: 0 / 0.7902 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.3408, allocations: 0 / 0.7902 GB, free: 6.418 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001604/0.3425, allocations: 0.9225 MB / 0.7911 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3425, allocations: 8.031 kB / 0.7911 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.3426, allocations: 68.19 kB / 0.7912 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005724/0.3432, allocations: 430.9 kB / 0.7916 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.897e-05/0.3433, allocations: 37.38 kB / 0.7916 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.3434, allocations: 56.36 kB / 0.7917 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008174/0.3442, allocations: 467.5 kB / 0.7921 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.3443, allocations: 192 / 0.7921 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/0.3443, allocations: 31.88 kB / 0.7922 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.3443, allocations: 8 kB / 0.7922 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006242/0.3449, allocations: 323.8 kB / 0.7925 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/0.3471, allocations: 1.461 MB / 0.7939 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009124/0.348, allocations: 0.8664 MB / 0.7948 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003351/0.3484, allocations: 197.3 kB / 0.7949 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.3484, allocations: 8 kB / 0.795 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005932/0.349, allocations: 215.2 kB / 0.7952 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 2.174e-06/0.349, allocations: 3.938 kB / 0.7952 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.0009888/0.35, allocations: 489 kB / 0.7956 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/0.3501, allocations: 110.8 kB / 0.7957 GB, free: 436 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004625/0.3506, allocations: 401.5 kB / 0.7961 GB, free: 28 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.027e-05/0.3507, allocations: 33.7 kB / 0.7962 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.3509, allocations: 256.3 kB / 0.7964 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.616e-05/0.351, allocations: 138 kB / 0.7965 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.3511, allocations: 90.12 kB / 0.7966 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3513, allocations: 362.8 kB / 0.797 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/0.3516, allocations: 162.5 kB / 0.7971 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.352, allocations: 262.9 kB / 0.7974 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006517/0.3527, allocations: 391.9 kB / 0.7977 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3527, allocations: 3.938 kB / 0.7977 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009097/0.3536, allocations: 0.516 MB / 0.7982 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.7e-05/0.3537, allocations: 44.19 kB / 0.7983 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.3537, allocations: 0 / 0.7983 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.3537, allocations: 7.938 kB / 0.7983 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.3541, allocations: 83.83 kB / 0.7984 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.3541, allocations: 7.984 kB / 0.7984 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/0.3545, allocations: 87.59 kB / 0.7985 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/0.3546, allocations: 23.88 kB / 0.7985 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003666/0.3549, allocations: 265.6 kB / 0.7987 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002947/0.3552, allocations: 230 kB / 0.799 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000469/0.3557, allocations: 358.3 kB / 0.7993 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.3557, allocations: 4 kB / 0.7993 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0007117/0.3564, allocations: 486.8 kB / 0.7998 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.3565, allocations: 37.7 kB / 0.7998 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3565, allocations: 7.984 kB / 0.7998 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.751e-06/0.3565, allocations: 4 kB / 0.7998 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.3568, allocations: 71.91 kB / 0.7999 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.3568, allocations: 11.88 kB / 0.7999 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.3571, allocations: 63.92 kB / 0.8 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.36e-05/0.3572, allocations: 24 kB / 0.8 GB, free: 11.87 MB / 0.6231 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.0001715/0.3574, allocations: 215.2 kB / 0.8002 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.215e-05/0.3574, allocations: 43.44 kB / 0.8002 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.819e-05/0.3575, allocations: 48.77 kB / 0.8003 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.3575, allocations: 7.938 kB / 0.8003 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.3576, allocations: 4 kB / 0.8003 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.3576, allocations: 3.984 kB / 0.8003 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.359, allocations: 0.9875 MB / 0.8013 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.359, allocations: 0 / 0.8013 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003728/0.3594, allocations: 75.91 kB / 0.8013 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.3594, allocations: 0 / 0.8013 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.3594, allocations: 11.98 kB / 0.8013 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3594, allocations: 0 / 0.8013 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3594, allocations: 0 / 0.8013 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.3605, allocations: 0.6368 MB / 0.802 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.3607, allocations: 128.5 kB / 0.8021 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.292e-05/0.3607, allocations: 12 kB / 0.8021 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.3609, allocations: 19.97 kB / 0.8021 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.361, allocations: 23.97 kB / 0.8021 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.361, allocations: 12 kB / 0.8021 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000296/0.3613, allocations: 279.2 kB / 0.8024 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3613, allocations: 3.938 kB / 0.8024 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000604/0.3619, allocations: 191.3 kB / 0.8026 GB, free: 9.094 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: 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.0002632/0.3622, allocations: 123.1 kB / 0.8027 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.3637, allocations: 0.7376 MB / 0.8034 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3637, allocations: 0 / 0.8034 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.364, allocations: 175.8 kB / 0.8036 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005895/0.3646, allocations: 95.44 kB / 0.8037 GB, free: 7.945 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.3662, allocations: 0.8742 MB / 0.8046 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/0.3668, allocations: 0.8473 MB / 0.8054 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002175/0.367, allocations: 59.3 kB / 0.8054 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.858e-05/0.3671, allocations: 35.44 kB / 0.8055 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.3671, allocations: 0 / 0.8055 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of Templates: time 0.01164/0.3788, allocations: 5.672 MB / 0.811 GB, free: 460 kB / 0.6231 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)