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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001149, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 186.6 kB / 16.62 MB, free: 6.613 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.564/1.564, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.978/1.978, allocations: 292.3 MB / 0.5489 GB, free: 12.76 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.001501/0.001501, allocations: 74.91 kB / 0.6723 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3355, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime): time 0.002581/0.3382, allocations: 1.183 MB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002725/0.3409, allocations: 2.171 MB / 0.7874 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.3411, allocations: 4 kB / 0.7874 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.286e-05/0.3412, allocations: 19.69 kB / 0.7874 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.3414, allocations: 83.27 kB / 0.7875 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003658/0.3451, allocations: 1.394 MB / 0.7889 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001726/0.3468, allocations: 1.291 MB / 0.7901 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3469, allocations: 28.67 kB / 0.7902 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006256/0.3475, allocations: 479.3 kB / 0.7906 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007431/0.3483, allocations: 434.8 kB / 0.791 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.3485, allocations: 104 kB / 0.7911 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.3488, allocations: 127.9 kB / 0.7913 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.564e-05/0.3489, allocations: 51.84 kB / 0.7913 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004755/0.3494, allocations: 395 kB / 0.7917 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.3507, allocations: 0.9662 MB / 0.7926 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.3508, allocations: 4 kB / 0.7926 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.226e-06/0.3508, allocations: 0 / 0.7926 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.3508, allocations: 4 kB / 0.7926 GB, free: 4.043 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001744/0.3525, allocations: 1.168 MB / 0.7938 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.3526, allocations: 12.03 kB / 0.7938 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.3528, allocations: 64.64 kB / 0.7939 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.353, allocations: 224.3 kB / 0.7941 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.815e-05/0.3531, allocations: 36.36 kB / 0.7941 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.3533, allocations: 72.36 kB / 0.7942 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003728/0.3537, allocations: 210 kB / 0.7944 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3537, allocations: 4.125 kB / 0.7944 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.3537, allocations: 15.92 kB / 0.7944 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.3537, allocations: 8 kB / 0.7944 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.3538, allocations: 63.78 kB / 0.7945 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009334/0.3548, allocations: 0.8561 MB / 0.7953 GB, free: 1 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004018/0.3552, allocations: 327.1 kB / 0.7956 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.3554, allocations: 144.8 kB / 0.7957 GB, free: 364 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.3554, allocations: 4 kB / 0.7957 GB, free: 360 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007175/0.3561, allocations: 470.7 kB / 0.7962 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 2.444e-06/0.3561, allocations: 0 / 0.7962 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001029/0.3572, allocations: 0.5615 MB / 0.7967 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003754/0.3576, allocations: 439.1 kB / 0.7972 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004328/0.358, allocations: 296.3 kB / 0.7974 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002759/0.3583, allocations: 69.69 kB / 0.7975 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.3585, allocations: 157.3 kB / 0.7977 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.3587, allocations: 94.84 kB / 0.7978 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000643/0.3593, allocations: 278 kB / 0.798 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3595, allocations: 346.8 kB / 0.7983 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008289/0.3603, allocations: 425.3 kB / 0.7988 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.3616, allocations: 0.7028 MB / 0.7994 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001986/0.3636, allocations: 1.191 MB / 0.8006 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/0.3637, allocations: 4 kB / 0.8006 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003425/0.3671, allocations: 1.717 MB / 0.8023 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005017/0.3676, allocations: 486.3 kB / 0.8027 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001026/0.3677, allocations: 12 kB / 0.8028 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.48e-05/0.3678, allocations: 12 kB / 0.8028 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.535e-05/0.3679, allocations: 35.78 kB / 0.8028 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.451e-05/0.3679, allocations: 19.92 kB / 0.8028 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/0.3702, allocations: 411.2 kB / 0.8032 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/0.3704, allocations: 95.92 kB / 0.8033 GB, free: 7.836 MB / 0.6231 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.0004843/0.3708, allocations: 213.6 kB / 0.8035 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.371, allocations: 51.45 kB / 0.8036 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.044e-05/0.371, allocations: 42.14 kB / 0.8036 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.3711, allocations: 8 kB / 0.8036 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/0.3711, allocations: 11.94 kB / 0.8036 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.807e-05/0.3711, allocations: 7.984 kB / 0.8036 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004916/0.3716, allocations: 321.4 kB / 0.8039 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.3717, allocations: 4 kB / 0.8039 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/0.3717, allocations: 23.92 kB / 0.804 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.3717, allocations: 7.938 kB / 0.804 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/0.3718, allocations: 23.92 kB / 0.804 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.3718, allocations: 4 kB / 0.804 GB, free: 7.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.3718, allocations: 4 kB / 0.804 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007554/0.3725, allocations: 0.5196 MB / 0.8045 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.554e-05/0.3726, allocations: 112.6 kB / 0.8046 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.227e-05/0.3727, allocations: 19.98 kB / 0.8046 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.3728, allocations: 15.98 kB / 0.8046 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.3729, allocations: 63.77 kB / 0.8047 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.373, allocations: 27.98 kB / 0.8047 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002702/0.3733, allocations: 191.1 kB / 0.8049 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.3733, allocations: 0 / 0.8049 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007904/0.3741, allocations: 200 kB / 0.8051 GB, free: 5.855 MB / 0.6231 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.0002852/0.3744, allocations: 147 kB / 0.8052 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002727/0.3771, allocations: 1.755 MB / 0.807 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3771, allocations: 0 / 0.807 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.3774, allocations: 179.7 kB / 0.8071 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009785/0.3784, allocations: 127.4 kB / 0.8073 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.3796, allocations: 0.6324 MB / 0.8079 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.3801, allocations: 0.7761 MB / 0.8086 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000142/0.3803, allocations: 50.95 kB / 0.8087 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.3803, allocations: 31.42 kB / 0.8087 GB, free: 1.883 MB / 0.6231 GB Notification: Performance of SimCode: time 2.8e-07/0.3803, allocations: 0 / 0.8087 GB, free: 1.883 MB / 0.6231 GB Notification: Performance of Templates: time 0.02359/0.4039, allocations: 11.96 MB / 0.8204 GB, free: 6.086 MB / 0.6387 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)