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.001291/0.001291, allocations: 102.9 kB / 16.29 MB, free: 6.43 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.001346/0.001346, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.661/1.661, allocations: 205.1 MB / 223.1 MB, free: 12.32 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 2.078/2.078, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001478/0.001478, allocations: 68.47 kB / 0.6722 GB, free: 6.488 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2923, allocations: 114.6 MB / 0.7841 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime): time 0.003018/0.2954, allocations: 1.167 MB / 0.7852 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003768/0.2992, allocations: 2.178 MB / 0.7874 GB, free: 456 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002146/0.2994, allocations: 0 / 0.7874 GB, free: 456 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 7.794e-05/0.2995, allocations: 19.69 kB / 0.7874 GB, free: 436 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.2998, allocations: 83.27 kB / 0.7875 GB, free: 352 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.512/0.8118, allocations: 1.393 MB / 0.7888 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001452/0.8133, allocations: 1.289 MB / 0.7901 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.241e-05/0.8134, allocations: 25.64 kB / 0.7901 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005603/0.814, allocations: 482 kB / 0.7906 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005718/0.8145, allocations: 442.1 kB / 0.791 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002198/0.8148, allocations: 105.9 kB / 0.7911 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.815, allocations: 118.2 kB / 0.7912 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.703e-05/0.8151, allocations: 67.14 kB / 0.7913 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004081/0.8155, allocations: 388.8 kB / 0.7916 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008335/0.8164, allocations: 0.9611 MB / 0.7926 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.8164, allocations: 0 / 0.7926 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.554e-06/0.8164, allocations: 0 / 0.7926 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.8164, allocations: 5.188 kB / 0.7926 GB, free: 45.82 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001142/0.8175, allocations: 1.172 MB / 0.7937 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.8176, allocations: 11 kB / 0.7937 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.8178, allocations: 65.47 kB / 0.7938 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.8179, allocations: 216 kB / 0.794 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.818, allocations: 37.91 kB / 0.794 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.8181, allocations: 69.62 kB / 0.7941 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.8183, allocations: 218.7 kB / 0.7943 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.8183, allocations: 3.469 kB / 0.7943 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.8184, allocations: 11.38 kB / 0.7943 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.8184, allocations: 0.6875 kB / 0.7943 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.8185, allocations: 72.34 kB / 0.7944 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008367/0.8193, allocations: 0.8471 MB / 0.7952 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.8196, allocations: 323.9 kB / 0.7955 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.8197, allocations: 134 kB / 0.7957 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.8198, allocations: 15.39 kB / 0.7957 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005806/0.8204, allocations: 468.1 kB / 0.7961 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 2.314e-06/0.8204, allocations: 0 / 0.7961 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.0009644/0.8213, allocations: 0.5641 MB / 0.7967 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.8215, allocations: 436.7 kB / 0.7971 GB, free: 43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.8218, allocations: 303 kB / 0.7974 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001203/0.8219, allocations: 65.83 kB / 0.7975 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.8221, allocations: 160.6 kB / 0.7976 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.517e-05/0.8222, allocations: 95.22 kB / 0.7977 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00049/0.8227, allocations: 273.9 kB / 0.798 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.8228, allocations: 353.7 kB / 0.7983 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009057/0.8237, allocations: 419.5 kB / 0.7987 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009934/0.8247, allocations: 0.7054 MB / 0.7994 GB, free: 42 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.826, allocations: 1.189 MB / 0.8005 GB, free: 41.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/0.826, allocations: 2.719 kB / 0.8005 GB, free: 41.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002938/0.8289, allocations: 1.721 MB / 0.8022 GB, free: 40.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002485/0.8292, allocations: 485.5 kB / 0.8027 GB, free: 39.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.8292, allocations: 10.47 kB / 0.8027 GB, free: 39.76 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.178e-05/0.8293, allocations: 13.39 kB / 0.8027 GB, free: 39.76 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.223e-05/0.8293, allocations: 35.05 kB / 0.8027 GB, free: 39.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.777e-05/0.8294, allocations: 21.14 kB / 0.8028 GB, free: 39.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/0.8316, allocations: 405.7 kB / 0.8032 GB, free: 39.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/0.8318, allocations: 97.34 kB / 0.8032 GB, free: 39.7 MB / 0.6544 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.0003672/0.8322, allocations: 218.5 kB / 0.8035 GB, free: 39.55 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.8323, allocations: 46.72 kB / 0.8035 GB, free: 39.53 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.198e-05/0.8324, allocations: 36.7 kB / 0.8035 GB, free: 39.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.8324, allocations: 8.812 kB / 0.8035 GB, free: 39.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.085e-05/0.8325, allocations: 10.75 kB / 0.8036 GB, free: 39.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.8325, allocations: 5.172 kB / 0.8036 GB, free: 39.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004711/0.833, allocations: 331.8 kB / 0.8039 GB, free: 39.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.833, allocations: 3.844 kB / 0.8039 GB, free: 39.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.142e-05/0.833, allocations: 21.45 kB / 0.8039 GB, free: 39.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.833, allocations: 9.828 kB / 0.8039 GB, free: 39.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.883e-05/0.8331, allocations: 19.58 kB / 0.8039 GB, free: 39.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-05/0.8331, allocations: 6.25 kB / 0.8039 GB, free: 39.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/0.8331, allocations: 11.03 kB / 0.8039 GB, free: 39.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009409/0.8341, allocations: 0.5167 MB / 0.8044 GB, free: 38.94 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.683e-05/0.8342, allocations: 119 kB / 0.8046 GB, free: 38.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.286e-05/0.8342, allocations: 16.31 kB / 0.8046 GB, free: 38.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.8344, allocations: 11.83 kB / 0.8046 GB, free: 38.81 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.8345, allocations: 67.44 kB / 0.8047 GB, free: 38.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.026e-05/0.8346, allocations: 28.27 kB / 0.8047 GB, free: 38.78 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002297/0.8348, allocations: 190.4 kB / 0.8049 GB, free: 38.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8348, allocations: 0 / 0.8049 GB, free: 38.68 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007955/0.8356, allocations: 194.8 kB / 0.805 GB, free: 38.66 MB / 0.6544 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.0002111/0.8359, allocations: 140.2 kB / 0.8052 GB, free: 38.56 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002042/0.8379, allocations: 1.751 MB / 0.8069 GB, free: 37.29 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8379, allocations: 1.938 kB / 0.8069 GB, free: 37.29 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002667/0.8382, allocations: 188.6 kB / 0.8071 GB, free: 37.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007059/0.8389, allocations: 121.8 kB / 0.8072 GB, free: 37.23 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009978/0.8399, allocations: 0.637 MB / 0.8078 GB, free: 36.81 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.8402, allocations: 0.7748 MB / 0.8086 GB, free: 36.11 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001288/0.8403, allocations: 43.41 kB / 0.8086 GB, free: 36.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.539e-05/0.8404, allocations: 41.5 kB / 0.8086 GB, free: 36.09 MB / 0.6544 GB Notification: Performance of SimCode: time 6.11e-07/0.8404, allocations: 1.438 kB / 0.8087 GB, free: 36.09 MB / 0.6544 GB Notification: Performance of Templates: time 0.02778/0.8682, allocations: 11.96 MB / 0.8203 GB, free: 35.35 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1)