Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000917/0.0009169, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001045/0.001045, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.63/1.63, allocations: 292.5 MB / 0.5497 GB, free: 14.65 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.0005043/0.0005043, allocations: 14.66 kB / 0.6736 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2434, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.003486/0.2469, allocations: 2.901 MB / 0.79 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004307/0.2513, allocations: 2.007 MB / 0.7919 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008964/0.2522, allocations: 19.94 kB / 0.7919 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.2525, allocations: 79.03 kB / 0.792 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000841/0.2533, allocations: 183.1 kB / 0.7922 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.2544, allocations: 359.4 kB / 0.7925 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000948/0.2554, allocations: 0.691 MB / 0.7932 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005726/0.256, allocations: 407.8 kB / 0.7936 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003081/0.2563, allocations: 282.5 kB / 0.7939 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003412/0.2566, allocations: 330 kB / 0.7942 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.342e-05/0.2567, allocations: 28 kB / 0.7942 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.2568, allocations: 51.92 kB / 0.7943 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.2569, allocations: 131.3 kB / 0.7944 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.2571, allocations: 173.1 kB / 0.7945 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009199/0.258, allocations: 1.068 MB / 0.7956 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.258, allocations: 0 / 0.7956 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.202e-06/0.258, allocations: 0 / 0.7956 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.258, allocations: 0 / 0.7956 GB, free: 3.254 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002092/0.2601, allocations: 1.266 MB / 0.7968 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.2602, allocations: 12.03 kB / 0.7968 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.2604, allocations: 118.6 kB / 0.797 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009061/0.2613, allocations: 0.622 MB / 0.7976 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.223e-05/0.2614, allocations: 62 kB / 0.7976 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.2615, allocations: 91.91 kB / 0.7977 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.2629, allocations: 0.8245 MB / 0.7985 GB, free: 140 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.263, allocations: 0 / 0.7985 GB, free: 140 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.377e-05/0.263, allocations: 32 kB / 0.7985 GB, free: 108 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.263, allocations: 20 kB / 0.7986 GB, free: 88 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.2643, allocations: 0.6481 MB / 0.7992 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004324/0.2686, allocations: 2.851 MB / 0.802 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.2702, allocations: 0.7335 MB / 0.8027 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.2703, allocations: 8.562 kB / 0.8027 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006941/0.271, allocations: 347 kB / 0.803 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=59): time 3.627e-06/0.271, allocations: 0 / 0.803 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59): time 0.001697/0.2727, allocations: 0.822 MB / 0.8038 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.2728, allocations: 188.5 kB / 0.804 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009473/0.2738, allocations: 0.7077 MB / 0.8047 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.2739, allocations: 37.7 kB / 0.8047 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/0.2743, allocations: 467.6 kB / 0.8052 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.2745, allocations: 197.1 kB / 0.8054 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.2745, allocations: 12 kB / 0.8054 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2747, allocations: 330 kB / 0.8057 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005385/0.2752, allocations: 273.5 kB / 0.806 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006555/0.2759, allocations: 456.8 kB / 0.8064 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006005/0.2765, allocations: 340.7 kB / 0.8067 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.2765, allocations: 0 / 0.8067 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001513/0.278, allocations: 0.845 MB / 0.8075 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005242/0.2786, allocations: 1.173 MB / 0.8087 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.2786, allocations: 4 kB / 0.8087 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.2786, allocations: 8 kB / 0.8087 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005718/0.2792, allocations: 151.8 kB / 0.8089 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/0.2792, allocations: 11.92 kB / 0.8089 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006967/0.2799, allocations: 170.4 kB / 0.809 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-05/0.28, allocations: 28 kB / 0.8091 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.28, allocations: 7.938 kB / 0.8091 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008925/0.2809, allocations: 0.5983 MB / 0.8096 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2809, allocations: 4 kB / 0.8096 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.2809, allocations: 8 kB / 0.8097 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.2813, allocations: 115.8 kB / 0.8098 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.2813, allocations: 11.94 kB / 0.8098 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00054/0.2819, allocations: 131.3 kB / 0.8099 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.2819, allocations: 27.98 kB / 0.8099 GB, free: 4.055 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004098/0.2823, allocations: 301.7 kB / 0.8102 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.2825, allocations: 86.97 kB / 0.8103 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.2826, allocations: 88.02 kB / 0.8104 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.2826, allocations: 4 kB / 0.8104 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.858e-05/0.2826, allocations: 0 / 0.8104 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.2826, allocations: 11.94 kB / 0.8104 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007962/0.2834, allocations: 0.7629 MB / 0.8111 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2835, allocations: 0 / 0.8111 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004785/0.2839, allocations: 127.8 kB / 0.8113 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.284, allocations: 4 kB / 0.8113 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/0.284, allocations: 12 kB / 0.8113 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.284, allocations: 4 kB / 0.8113 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.284, allocations: 0 / 0.8113 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.2856, allocations: 0.9408 MB / 0.8122 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.2858, allocations: 164 kB / 0.8124 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.412e-05/0.2859, allocations: 16.09 kB / 0.8124 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.2862, allocations: 63.89 kB / 0.8124 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.2863, allocations: 32.45 kB / 0.8125 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.2863, allocations: 20.12 kB / 0.8125 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000569/0.2869, allocations: 0.4912 MB / 0.813 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2869, allocations: 0 / 0.813 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007614/0.2877, allocations: 310.7 kB / 0.8133 GB, free: 0.5469 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002297/0.2879, allocations: 127.1 kB / 0.8134 GB, free: 420 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001744/0.2897, allocations: 1.065 MB / 0.8144 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.2897, allocations: 12.06 kB / 0.8144 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004913/0.2902, allocations: 291.1 kB / 0.8147 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000729/0.2909, allocations: 159.1 kB / 0.8149 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.2933, allocations: 1.712 MB / 0.8165 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.2938, allocations: 1.005 MB / 0.8175 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003305/0.2942, allocations: 93.91 kB / 0.8176 GB, free: 12 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.2943, allocations: 63.42 kB / 0.8177 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of SimCode: time 2.3e-07/0.2943, allocations: 0 / 0.8177 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of Templates: time 0.01607/0.3104, allocations: 8.399 MB / 0.8259 GB, free: 3.637 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1) Environment - environmentSimulation: