Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.789/1.789, allocations: 292.3 MB / 308.1 MB, free: 4.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001267/0.001267, allocations: 193.8 kB / 376.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.872/1.872, allocations: 205.1 MB / 0.6354 GB, free: 9.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001362/0.001362, allocations: 103.7 kB / 0.748 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001403, allocations: 55.92 kB / 0.8704 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.361, allocations: 114.5 MB / 0.9822 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime): time 0.003709/0.3647, allocations: 1.225 MB / 0.9834 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003868/0.3687, allocations: 2.357 MB / 0.9857 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003377/0.369, allocations: 0 / 0.9857 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.3692, allocations: 11.81 kB / 0.9858 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004559/0.3696, allocations: 79.39 kB / 0.9858 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003576/0.3732, allocations: 1.31 MB / 0.9871 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001567/0.3748, allocations: 1.057 MB / 0.9881 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3749, allocations: 24.73 kB / 0.9882 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009959/0.376, allocations: 427.2 kB / 0.9886 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004309/0.3764, allocations: 327 kB / 0.9889 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.3766, allocations: 60 kB / 0.9889 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002399/0.3768, allocations: 71.98 kB / 0.989 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.014e-05/0.3769, allocations: 55.77 kB / 0.9891 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0004785/0.3774, allocations: 355 kB / 0.9894 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.3785, allocations: 0.9197 MB / 0.9903 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3785, allocations: 0 / 0.9903 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3785, allocations: 0 / 0.9903 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.3785, allocations: 4 kB / 0.9903 GB, free: 2.062 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001587/0.3801, allocations: 1.172 MB / 0.9915 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.3802, allocations: 8.031 kB / 0.9915 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.3804, allocations: 68.5 kB / 0.9915 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.3806, allocations: 220.4 kB / 0.9917 GB, free: 424 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.325e-05/0.3807, allocations: 44.36 kB / 0.9918 GB, free: 380 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.3808, allocations: 68.36 kB / 0.9918 GB, free: 312 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.3812, allocations: 209.5 kB / 0.992 GB, free: 52 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3812, allocations: 4.125 kB / 0.992 GB, free: 48 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.3812, allocations: 7.938 kB / 0.9921 GB, free: 40 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.3813, allocations: 4 kB / 0.9921 GB, free: 36 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.3814, allocations: 71.84 kB / 0.9921 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000951/0.3824, allocations: 0.8444 MB / 0.993 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/0.3828, allocations: 327.2 kB / 0.9933 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.383, allocations: 140.9 kB / 0.9934 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.3831, allocations: 8 kB / 0.9934 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008166/0.3839, allocations: 470.5 kB / 0.9939 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 2.114e-06/0.3839, allocations: 0 / 0.9939 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.001176/0.3851, allocations: 0.558 MB / 0.9944 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003608/0.3855, allocations: 435.2 kB / 0.9948 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.3859, allocations: 300.3 kB / 0.9951 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.386, allocations: 65.7 kB / 0.9952 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.3863, allocations: 161.3 kB / 0.9953 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.3864, allocations: 94.84 kB / 0.9954 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005254/0.3869, allocations: 270.1 kB / 0.9957 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002804/0.3872, allocations: 358.7 kB / 0.996 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009652/0.3882, allocations: 425.3 kB / 0.9964 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.3894, allocations: 0.6989 MB / 0.9971 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/0.3911, allocations: 1.199 MB / 0.9983 GB, free: 8.836 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/0.3911, allocations: 4 kB / 0.9983 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003173/0.3943, allocations: 1.721 MB / 1 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000435/0.3948, allocations: 481.4 kB / 1 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-05/0.3948, allocations: 11.98 kB / 1 GB, free: 6.438 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.89e-05/0.3949, allocations: 16 kB / 1 GB, free: 6.422 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.525e-05/0.395, allocations: 31.86 kB / 1 GB, free: 6.391 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.399e-05/0.395, allocations: 19.88 kB / 1 GB, free: 6.371 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002518/0.3976, allocations: 423.5 kB / 1.001 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002151/0.3978, allocations: 99.92 kB / 1.001 GB, free: 5.859 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0004932/0.3983, allocations: 221.5 kB / 1.001 GB, free: 5.637 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.3985, allocations: 47.45 kB / 1.001 GB, free: 5.59 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.3986, allocations: 42.14 kB / 1.001 GB, free: 5.543 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.3986, allocations: 8 kB / 1.001 GB, free: 5.535 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.942e-05/0.3986, allocations: 4 kB / 1.001 GB, free: 5.531 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.3986, allocations: 7.984 kB / 1.001 GB, free: 5.523 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/0.3991, allocations: 325.3 kB / 1.002 GB, free: 5.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.3992, allocations: 4 kB / 1.002 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.375e-05/0.3992, allocations: 23.92 kB / 1.002 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/0.3992, allocations: 7.938 kB / 1.002 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.3993, allocations: 19.98 kB / 1.002 GB, free: 5.102 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-06/0.3993, allocations: 7.938 kB / 1.002 GB, free: 5.094 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.3993, allocations: 8 kB / 1.002 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.4011, allocations: 1.236 MB / 1.003 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.4012, allocations: 116.6 kB / 1.003 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.362e-05/0.4013, allocations: 19.98 kB / 1.003 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.4014, allocations: 16 kB / 1.003 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.4016, allocations: 59.81 kB / 1.003 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.692e-05/0.4016, allocations: 31.97 kB / 1.003 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002526/0.4019, allocations: 187.1 kB / 1.003 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.71e-07/0.4019, allocations: 0 / 1.003 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009579/0.4029, allocations: 204 kB / 1.003 GB, free: 3.109 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0003793/0.4033, allocations: 135.1 kB / 1.004 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002633/0.4059, allocations: 1.738 MB / 1.005 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.4059, allocations: 0 / 1.005 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003018/0.4062, allocations: 185 kB / 1.005 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009432/0.4072, allocations: 126.1 kB / 1.006 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.409, allocations: 0.9406 MB / 1.007 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006385/0.4097, allocations: 0.7878 MB / 1.007 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001955/0.4099, allocations: 42.97 kB / 1.007 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.263e-05/0.41, allocations: 39.42 kB / 1.007 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of SimCode: time 2.094e-06/0.41, allocations: 0 / 1.007 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of Templates: time 0.02621/0.4362, allocations: 11.84 MB / 1.019 GB, free: 3.113 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1)