Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009561/0.0009561, allocations: 80.75 kB / 20.82 MB, free: 3.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009461/0.0009461, allocations: 165 kB / 24.25 MB, free: 212 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8915/0.8915, allocations: 177.1 MB / 204.7 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.87/1.87, allocations: 389.6 MB / 0.6355 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable") translateModel(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.7753 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.58e-05, allocations: 2.312 kB / 0.7753 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable): time 0.003828/0.003844, allocations: 4.001 MB / 0.7792 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003612/0.007456, allocations: 2.718 MB / 0.7819 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003474/0.007804, allocations: 31.81 kB / 0.7819 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.008184, allocations: 225.5 kB / 0.7821 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004882/0.008672, allocations: 285.7 kB / 0.7824 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000884/0.009556, allocations: 0.746 MB / 0.7831 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001139/0.0107, allocations: 1.94 MB / 0.785 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006354/0.01133, allocations: 0.6525 MB / 0.7857 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006905/0.01202, allocations: 1.025 MB / 0.7867 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003696/0.01239, allocations: 0.5201 MB / 0.7872 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001555/0.01255, allocations: 217.1 kB / 0.7874 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.01275, allocations: 224 kB / 0.7876 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.01293, allocations: 394.6 kB / 0.788 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002716/0.0132, allocations: 0.5069 MB / 0.7885 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007929/0.01399, allocations: 1.191 MB / 0.7896 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.014, allocations: 1.219 kB / 0.7896 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.092e-06/0.014, allocations: 0 / 0.7896 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.01401, allocations: 0 / 0.7896 GB, free: 6.59 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.001481/0.01549, allocations: 1.675 MB / 0.7913 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.01552, allocations: 9.344 kB / 0.7913 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.01569, allocations: 206.4 kB / 0.7915 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005582/0.01624, allocations: 0.5266 MB / 0.792 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.748e-05/0.0163, allocations: 94.7 kB / 0.7921 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.62e-05/0.0164, allocations: 132.4 kB / 0.7922 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007339/0.01713, allocations: 0.9247 MB / 0.7931 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.01715, allocations: 5.25 kB / 0.7931 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/0.01719, allocations: 52.38 kB / 0.7932 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.01721, allocations: 32.12 kB / 0.7932 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003258/0.01754, allocations: 280.6 kB / 0.7935 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002429/0.01996, allocations: 2.478 MB / 0.7959 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005162/0.02048, allocations: 471.5 kB / 0.7963 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.02065, allocations: 186.6 kB / 0.7965 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.02068, allocations: 12.66 kB / 0.7965 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002473/0.02093, allocations: 262.2 kB / 0.7968 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=85): time 2.083e-06/0.02093, allocations: 0 / 0.7968 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of matching and sorting (n=85): time 0.0004702/0.0214, allocations: 438.4 kB / 0.7972 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.049e-05/0.02147, allocations: 198 kB / 0.7974 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004155/0.02189, allocations: 0.6559 MB / 0.798 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.379e-05/0.02193, allocations: 49.69 kB / 0.7981 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.02214, allocations: 475.4 kB / 0.7985 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.02228, allocations: 293.4 kB / 0.7988 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.02245, allocations: 187.2 kB / 0.799 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.164e-05/0.02253, allocations: 334.4 kB / 0.7993 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.02274, allocations: 199.4 kB / 0.7995 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.02305, allocations: 0.5933 MB / 0.8001 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.02341, allocations: 436.3 kB / 0.8005 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.02342, allocations: 4 kB / 0.8005 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0005303/0.02395, allocations: 0.5956 MB / 0.8011 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.426e-05/0.02399, allocations: 68.89 kB / 0.8011 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.024, allocations: 7.984 kB / 0.8011 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.02401, allocations: 4 kB / 0.8011 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.02434, allocations: 184.8 kB / 0.8013 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.02435, allocations: 8 kB / 0.8013 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.02462, allocations: 125.8 kB / 0.8014 GB, free: 9.957 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/0.02466, allocations: 27.98 kB / 0.8015 GB, free: 9.93 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002565/0.02491, allocations: 273.5 kB / 0.8017 GB, free: 9.645 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002826/0.02519, allocations: 0.5922 MB / 0.8023 GB, free: 8.922 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000317/0.02551, allocations: 433.1 kB / 0.8027 GB, free: 8.465 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.02551, allocations: 0 / 0.8027 GB, free: 8.465 MB / 0.7605 GB Notification: Performance of matching and sorting (n=106) (initialization_lambda0): time 0.0004693/0.02598, allocations: 0.5906 MB / 0.8033 GB, free: 7.848 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.02601, allocations: 71.33 kB / 0.8034 GB, free: 7.766 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.02602, allocations: 4 kB / 0.8034 GB, free: 7.762 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.569e-06/0.02602, allocations: 4 kB / 0.8034 GB, free: 7.758 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.0263, allocations: 163.8 kB / 0.8035 GB, free: 7.598 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.0263, allocations: 4.781 kB / 0.8035 GB, free: 7.594 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.02654, allocations: 116.6 kB / 0.8037 GB, free: 7.48 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.02657, allocations: 29.39 kB / 0.8037 GB, free: 7.453 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,ena.y,$PRE.ena.y,pulse.booPul.y,$PRE.pulse.booPul.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 100 * 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.0001293/0.0267, allocations: 240.1 kB / 0.8039 GB, free: 7.211 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.895e-05/0.02677, allocations: 81.14 kB / 0.804 GB, free: 7.133 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003891/0.02716, allocations: 398.4 kB / 0.8044 GB, free: 6.73 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.02716, allocations: 12 kB / 0.8044 GB, free: 6.719 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.02716, allocations: 0.8125 kB / 0.8044 GB, free: 6.719 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.02717, allocations: 11.95 kB / 0.8044 GB, free: 6.707 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.02823, allocations: 1.081 MB / 0.8054 GB, free: 5.578 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.02823, allocations: 4 kB / 0.8054 GB, free: 5.574 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/0.02852, allocations: 149.7 kB / 0.8056 GB, free: 5.43 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.02852, allocations: 4 kB / 0.8056 GB, free: 5.426 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.02854, allocations: 23.98 kB / 0.8056 GB, free: 5.402 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.02855, allocations: 4 kB / 0.8056 GB, free: 5.398 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.02855, allocations: 11.88 kB / 0.8056 GB, free: 5.387 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005616/0.02912, allocations: 0.6454 MB / 0.8063 GB, free: 4.695 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.174e-05/0.0292, allocations: 91.22 kB / 0.8064 GB, free: 4.605 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.174e-05/0.02925, allocations: 23.98 kB / 0.8064 GB, free: 4.582 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.0294, allocations: 33.14 kB / 0.8064 GB, free: 4.551 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.385e-05/0.02945, allocations: 60.48 kB / 0.8065 GB, free: 4.492 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.02947, allocations: 19.98 kB / 0.8065 GB, free: 4.473 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002645/0.02974, allocations: 333.1 kB / 0.8068 GB, free: 4.152 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02974, allocations: 0 / 0.8068 GB, free: 4.152 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005235/0.03026, allocations: 487.4 kB / 0.8073 GB, free: 3.676 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.conPID.I.y,limPID.conPID.D.x,limPI.conPID.I.y,limPD.conPID.D.x,noLimPID.conPID.I.y,noLimPID.conPID.D.x) * Number of discrete variables: 7 ($whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,ena.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001408/0.0304, allocations: 120.9 kB / 0.8074 GB, free: 3.551 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007657/0.03117, allocations: 1.016 MB / 0.8084 GB, free: 2.461 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/0.03118, allocations: 12.61 kB / 0.8084 GB, free: 2.449 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.03135, allocations: 204.3 kB / 0.8086 GB, free: 2.25 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006491/0.032, allocations: 320.4 kB / 0.8089 GB, free: 1.953 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.03365, allocations: 1.81 MB / 0.8107 GB, free: 76 kB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.03379, allocations: 206.5 kB / 0.8108 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003003/0.03409, allocations: 133.1 kB / 0.811 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004471/0.03454, allocations: 313.6 kB / 0.8113 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of SimCode: time 1.012e-06/0.03454, allocations: 4.594 kB / 0.8113 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of Templates: time 0.01948/0.05402, allocations: 17.32 MB / 0.8282 GB, free: 14.55 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.sim & ./Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.209520217962563]