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.001257/0.001257, allocations: 106.5 kB / 16.36 MB, free: 6.258 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.00137/0.001371, allocations: 189.7 kB / 17.3 MB, free: 5.848 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.706/1.706, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.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.974/1.974, allocations: 292.3 MB / 0.5496 GB, free: 17.59 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.00177/0.00177, allocations: 71.89 kB / 0.6729 GB, free: 5.805 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3218, allocations: 114.6 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.004447/0.3263, allocations: 2.164 MB / 0.7869 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.6198/0.9461, allocations: 1.671 MB / 0.7886 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002656/0.9464, allocations: 12.25 kB / 0.7886 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002875/0.9468, allocations: 78.47 kB / 0.7886 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003576/0.9471, allocations: 100.6 kB / 0.7887 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008688/0.948, allocations: 409.6 kB / 0.7891 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007427/0.9488, allocations: 0.7759 MB / 0.7899 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004756/0.9492, allocations: 335.2 kB / 0.7902 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002456/0.9495, allocations: 291.4 kB / 0.7905 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003054/0.9498, allocations: 315.6 kB / 0.7908 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.9499, allocations: 84.97 kB / 0.7909 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.9501, allocations: 96.17 kB / 0.791 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.9502, allocations: 149.9 kB / 0.7911 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002507/0.9505, allocations: 328.6 kB / 0.7914 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007106/0.9512, allocations: 0.9043 MB / 0.7923 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.9512, allocations: 3.688 kB / 0.7923 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.555e-06/0.9512, allocations: 0 / 0.7923 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.9512, allocations: 1.469 kB / 0.7923 GB, free: 46.09 MB / 0.6544 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.001524/0.9527, allocations: 0.9821 MB / 0.7933 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.9528, allocations: 9.625 kB / 0.7933 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.9529, allocations: 74.83 kB / 0.7933 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006432/0.9536, allocations: 449.5 kB / 0.7938 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.08e-05/0.9536, allocations: 41.47 kB / 0.7938 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.569e-05/0.9537, allocations: 58.16 kB / 0.7939 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007321/0.9545, allocations: 495 kB / 0.7943 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.9545, allocations: 2.906 kB / 0.7943 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.628e-05/0.9545, allocations: 30.75 kB / 0.7944 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.9546, allocations: 10.94 kB / 0.7944 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006139/0.9552, allocations: 345.1 kB / 0.7947 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002175/0.9574, allocations: 1.543 MB / 0.7962 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008467/0.9582, allocations: 0.8793 MB / 0.7971 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/0.9586, allocations: 213.7 kB / 0.7973 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.969e-05/0.9586, allocations: 17.17 kB / 0.7973 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004842/0.9591, allocations: 260.8 kB / 0.7975 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=47): time 2.455e-06/0.9591, allocations: 0 / 0.7975 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=47): time 0.001005/0.9601, allocations: 0.5288 MB / 0.7981 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.9602, allocations: 108.9 kB / 0.7982 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004611/0.9607, allocations: 410.4 kB / 0.7986 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.252e-05/0.9607, allocations: 40.2 kB / 0.7986 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.9609, allocations: 266.5 kB / 0.7988 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.961, allocations: 151.6 kB / 0.799 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.9612, allocations: 109.1 kB / 0.7991 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.9613, allocations: 358.8 kB / 0.7994 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003841/0.9617, allocations: 189.3 kB / 0.7996 GB, free: 42.06 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004357/0.9622, allocations: 290.9 kB / 0.7999 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000694/0.9629, allocations: 456 kB / 0.8003 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.9629, allocations: 3.156 kB / 0.8003 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001153/0.9641, allocations: 0.6314 MB / 0.801 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.231e-05/0.9641, allocations: 69.72 kB / 0.801 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.9642, allocations: 1.094 kB / 0.801 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.9642, allocations: 3.969 kB / 0.801 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/0.9646, allocations: 85.11 kB / 0.8011 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.837e-05/0.9646, allocations: 4.75 kB / 0.8011 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005352/0.9651, allocations: 102.5 kB / 0.8012 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-05/0.9652, allocations: 23.78 kB / 0.8012 GB, free: 41.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004771/0.9657, allocations: 299.8 kB / 0.8015 GB, free: 41.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003793/0.9661, allocations: 267.5 kB / 0.8018 GB, free: 40.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005412/0.9666, allocations: 410.5 kB / 0.8022 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.986e-06/0.9666, allocations: 3.781 kB / 0.8022 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.000999/0.9676, allocations: 0.5711 MB / 0.8027 GB, free: 40.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.28e-05/0.9677, allocations: 73.19 kB / 0.8028 GB, free: 40.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.9677, allocations: 2.031 kB / 0.8028 GB, free: 40.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.9678, allocations: 3.781 kB / 0.8028 GB, free: 40.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.9681, allocations: 76.48 kB / 0.8029 GB, free: 40.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.9681, allocations: 4.391 kB / 0.8029 GB, free: 40.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/0.9686, allocations: 94.33 kB / 0.803 GB, free: 40.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.472e-05/0.9687, allocations: 26.7 kB / 0.803 GB, free: 40.23 MB / 0.6544 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.0001954/0.9689, allocations: 208.6 kB / 0.8032 GB, free: 40.04 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.064e-05/0.969, allocations: 55.38 kB / 0.8032 GB, free: 40.01 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.9691, allocations: 58.73 kB / 0.8033 GB, free: 39.97 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.9691, allocations: 7.109 kB / 0.8033 GB, free: 39.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.9691, allocations: 0 / 0.8033 GB, free: 39.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-05/0.9692, allocations: 131.7 kB / 0.8034 GB, free: 39.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.776e-05/0.9693, allocations: 8.547 kB / 0.8034 GB, free: 39.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.9695, allocations: 28.05 kB / 0.8035 GB, free: 39.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/0.9696, allocations: 27.36 kB / 0.8035 GB, free: 39.82 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001111/0.9707, allocations: 0.5165 MB / 0.804 GB, free: 39.57 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001277/0.972, allocations: 0.7809 MB / 0.8048 GB, free: 39.14 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003783/0.9724, allocations: 188 kB / 0.8049 GB, free: 39.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000398/0.9728, allocations: 287.3 kB / 0.8052 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of Backend: time 1.684e-06/0.9728, allocations: 0 / 0.8052 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002018/0.9748, allocations: 0.9016 MB / 0.8061 GB, free: 38.41 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002525/0.9773, allocations: 1.341 MB / 0.8074 GB, free: 37.44 MB / 0.6544 GB Notification: Performance of Templates: time 0.02409/1.001, allocations: 8.695 MB / 0.8159 GB, free: 37.01 MB / 0.6544 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)