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.001277/0.001277, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01411/0.01411, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.804/1.804, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.881/1.881, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0007003/0.0007006, allocations: 17 kB / 0.6743 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2991, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.003287/0.3025, allocations: 1.702 MB / 0.7896 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003374/0.3059, allocations: 1.562 MB / 0.7911 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004199/0.3064, allocations: 8 kB / 0.7911 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.3067, allocations: 55.45 kB / 0.7911 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003345/0.307, allocations: 71.5 kB / 0.7912 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006291/0.3077, allocations: 270.9 kB / 0.7915 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006072/0.3083, allocations: 0.6138 MB / 0.7921 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006738/0.309, allocations: 284.5 kB / 0.7923 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.3093, allocations: 171 kB / 0.7925 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002995/0.3096, allocations: 202.6 kB / 0.7927 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.639e-05/0.3096, allocations: 20 kB / 0.7927 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.3098, allocations: 39.84 kB / 0.7928 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.762e-05/0.3099, allocations: 71.62 kB / 0.7928 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002683/0.3102, allocations: 252.1 kB / 0.7931 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008262/0.311, allocations: 0.728 MB / 0.7938 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.311, allocations: 0 / 0.7938 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.311, allocations: 0 / 0.7938 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.311, allocations: 4 kB / 0.7938 GB, free: 5.535 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.00182/0.3129, allocations: 0.8214 MB / 0.7946 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.3129, allocations: 19.97 kB / 0.7946 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.3131, allocations: 64.19 kB / 0.7947 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000739/0.3139, allocations: 422.9 kB / 0.7951 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.514e-05/0.3139, allocations: 41.38 kB / 0.7951 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.3141, allocations: 52.36 kB / 0.7952 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.3152, allocations: 479.5 kB / 0.7956 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.3152, allocations: 4.172 kB / 0.7956 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-05/0.3153, allocations: 23.94 kB / 0.7956 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.3153, allocations: 12 kB / 0.7957 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009445/0.3163, allocations: 339.8 kB / 0.796 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00253/0.3188, allocations: 1.484 MB / 0.7974 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.32, allocations: 0.8794 MB / 0.7983 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003903/0.3204, allocations: 213.3 kB / 0.7985 GB, free: 428 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.94e-05/0.3204, allocations: 4 kB / 0.7985 GB, free: 424 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005764/0.321, allocations: 224 kB / 0.7987 GB, free: 188 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 3.576e-06/0.321, allocations: 4 kB / 0.7987 GB, free: 184 kB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.001128/0.3221, allocations: 0.5003 MB / 0.7992 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.783e-05/0.3223, allocations: 110.8 kB / 0.7993 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005135/0.3228, allocations: 397.6 kB / 0.7997 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/0.3228, allocations: 41.7 kB / 0.7997 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.3231, allocations: 252.3 kB / 0.8 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.3232, allocations: 137.9 kB / 0.8001 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.702e-05/0.3233, allocations: 45.69 kB / 0.8001 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3234, allocations: 358.8 kB / 0.8005 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003842/0.3238, allocations: 168.8 kB / 0.8006 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004137/0.3243, allocations: 266.9 kB / 0.8009 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007775/0.3251, allocations: 411.9 kB / 0.8013 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.758e-06/0.3251, allocations: 0 / 0.8013 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001027/0.3261, allocations: 0.5393 MB / 0.8018 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.3263, allocations: 181.1 kB / 0.802 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.3263, allocations: 8 kB / 0.802 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.3263, allocations: 4 kB / 0.802 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.3267, allocations: 95.83 kB / 0.8021 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.3267, allocations: 0 / 0.8021 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004713/0.3272, allocations: 103.4 kB / 0.8022 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.448e-05/0.3273, allocations: 20.05 kB / 0.8022 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.3273, allocations: 4 kB / 0.8022 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006952/0.328, allocations: 433.6 kB / 0.8026 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.328, allocations: 0 / 0.8026 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.637e-05/0.3281, allocations: 4 kB / 0.8026 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.3283, allocations: 84.06 kB / 0.8027 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.639e-06/0.3284, allocations: 7.938 kB / 0.8027 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004014/0.3288, allocations: 79.48 kB / 0.8028 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.3288, allocations: 19.98 kB / 0.8028 GB, free: 11.79 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.0003279/0.3292, allocations: 256 kB / 0.8031 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-05/0.3293, allocations: 43.53 kB / 0.8031 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.3294, allocations: 52.75 kB / 0.8031 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.3294, allocations: 4 kB / 0.8032 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.3294, allocations: 3.938 kB / 0.8032 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3294, allocations: 0 / 0.8032 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.3309, allocations: 1.015 MB / 0.8041 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.331, allocations: 11.94 kB / 0.8042 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003315/0.3313, allocations: 75.89 kB / 0.8042 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.3313, allocations: 0 / 0.8042 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.436e-05/0.3314, allocations: 12 kB / 0.8042 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.3314, allocations: 0 / 0.8042 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3314, allocations: 0 / 0.8042 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.3326, allocations: 0.6642 MB / 0.8049 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.3328, allocations: 128.5 kB / 0.805 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/0.3329, allocations: 4 kB / 0.805 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.3331, allocations: 27.98 kB / 0.805 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.3332, allocations: 19.97 kB / 0.8051 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.3332, allocations: 15.98 kB / 0.8051 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003487/0.3335, allocations: 283.2 kB / 0.8053 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6.51e-07/0.3336, allocations: 0 / 0.8053 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006996/0.3343, allocations: 191.2 kB / 0.8055 GB, free: 8.906 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.0002695/0.3345, allocations: 115.2 kB / 0.8056 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00146/0.336, allocations: 0.7369 MB / 0.8064 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.336, allocations: 0.875 kB / 0.8064 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003419/0.3364, allocations: 187.9 kB / 0.8065 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006651/0.337, allocations: 89.33 kB / 0.8066 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.3387, allocations: 1.105 MB / 0.8077 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.3391, allocations: 0.843 MB / 0.8085 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002163/0.3394, allocations: 59.3 kB / 0.8086 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.3395, allocations: 39.42 kB / 0.8086 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of SimCode: time 4.01e-07/0.3395, allocations: 0 / 0.8086 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of Templates: time 0.01174/0.3512, allocations: 5.372 MB / 0.8139 GB, free: 348 kB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: