Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.375/2.375, allocations: 391.2 MB / 407 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 199.7 kB / 499.1 MB, free: 4.621 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.63/1.63, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 107.7 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 57.67 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3127, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime): time 0.002372/0.3151, allocations: 1.22 MB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002761/0.3179, allocations: 2.346 MB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003103/0.3183, allocations: 8 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.3185, allocations: 7.875 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003251/0.3188, allocations: 71.39 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002988/0.3218, allocations: 1.317 MB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001119/0.3229, allocations: 1.049 MB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.844e-05/0.323, allocations: 20.73 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008295/0.3239, allocations: 431.2 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004542/0.3243, allocations: 335 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003525/0.3247, allocations: 60 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004419/0.3252, allocations: 67.98 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 9.403e-05/0.3253, allocations: 59.77 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008564/0.3261, allocations: 343 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.3275, allocations: 0.9254 MB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.3276, allocations: 0 / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3276, allocations: 0 / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.3276, allocations: 0 / 1.226 GB, free: 109 MB / 0.823 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.00144/0.3291, allocations: 1.18 MB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.3291, allocations: 11.98 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.3293, allocations: 64.64 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.3295, allocations: 216.4 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.382e-05/0.3295, allocations: 40.36 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.3297, allocations: 64.36 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.33, allocations: 221.5 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.33, allocations: 4.188 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.33, allocations: 15.8 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.3301, allocations: 8 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.984e-05/0.3302, allocations: 67.78 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008836/0.331, allocations: 0.8405 MB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.3313, allocations: 323.2 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.3315, allocations: 136.9 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.3315, allocations: 11.92 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005259/0.332, allocations: 462.7 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=45): time 2.274e-06/0.332, allocations: 4 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.001053/0.3331, allocations: 0.5616 MB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002021/0.3333, allocations: 447.1 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003535/0.3337, allocations: 296.3 kB / 1.231 GB, free: 103.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.3338, allocations: 61.7 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.334, allocations: 161.3 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.466e-05/0.3341, allocations: 106.8 kB / 1.231 GB, free: 103 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004473/0.3345, allocations: 274.1 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3347, allocations: 350.8 kB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007972/0.3355, allocations: 421.3 kB / 1.232 GB, free: 102 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009895/0.3365, allocations: 0.7028 MB / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.3376, allocations: 1.195 MB / 1.234 GB, free: 99.72 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.3376, allocations: 0 / 1.234 GB, free: 99.72 MB / 0.823 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002491/0.3401, allocations: 1.717 MB / 1.236 GB, free: 97.91 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.3403, allocations: 485.4 kB / 1.236 GB, free: 97.34 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.3403, allocations: 12 kB / 1.236 GB, free: 97.33 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/0.3404, allocations: 12 kB / 1.236 GB, free: 97.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.199e-05/0.3404, allocations: 35.86 kB / 1.236 GB, free: 97.28 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.3405, allocations: 23.92 kB / 1.236 GB, free: 97.26 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002344/0.3428, allocations: 414.9 kB / 1.237 GB, free: 96.85 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/0.343, allocations: 95.92 kB / 1.237 GB, free: 96.76 MB / 0.823 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.0002788/0.3433, allocations: 222.2 kB / 1.237 GB, free: 96.53 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.922e-05/0.3434, allocations: 47.47 kB / 1.237 GB, free: 96.48 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.276e-05/0.3434, allocations: 34.14 kB / 1.237 GB, free: 96.45 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3434, allocations: 8 kB / 1.237 GB, free: 96.44 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.3435, allocations: 4 kB / 1.237 GB, free: 96.44 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.3435, allocations: 7.984 kB / 1.237 GB, free: 96.43 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.3438, allocations: 337.3 kB / 1.237 GB, free: 96.05 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.3438, allocations: 8 kB / 1.237 GB, free: 96.04 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.064e-05/0.3438, allocations: 15.92 kB / 1.237 GB, free: 96.03 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.3438, allocations: 11.94 kB / 1.238 GB, free: 96.02 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.3439, allocations: 15.98 kB / 1.238 GB, free: 96 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.3439, allocations: 8 kB / 1.238 GB, free: 95.99 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.3439, allocations: 11.94 kB / 1.238 GB, free: 95.98 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000799/0.3447, allocations: 1.24 MB / 1.239 GB, free: 94.64 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.3447, allocations: 108.6 kB / 1.239 GB, free: 94.52 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.3448, allocations: 15.98 kB / 1.239 GB, free: 94.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.791e-05/0.3449, allocations: 11.98 kB / 1.239 GB, free: 94.49 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.824e-05/0.345, allocations: 63.81 kB / 1.239 GB, free: 94.43 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.345, allocations: 31.98 kB / 1.239 GB, free: 94.39 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001172/0.3451, allocations: 191.1 kB / 1.239 GB, free: 94.21 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3451, allocations: 0 / 1.239 GB, free: 94.21 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006911/0.3458, allocations: 192 kB / 1.239 GB, free: 94.02 MB / 0.823 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.000171/0.346, allocations: 139 kB / 1.239 GB, free: 93.88 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00146/0.3475, allocations: 1.746 MB / 1.241 GB, free: 91.95 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3475, allocations: 0.875 kB / 1.241 GB, free: 91.95 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.3477, allocations: 180.8 kB / 1.241 GB, free: 91.77 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006525/0.3483, allocations: 121.2 kB / 1.241 GB, free: 91.65 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008667/0.3492, allocations: 0.9405 MB / 1.242 GB, free: 90.63 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.3495, allocations: 0.7842 MB / 1.243 GB, free: 89.81 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001808/0.3497, allocations: 46.97 kB / 1.243 GB, free: 89.77 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.529e-05/0.3497, allocations: 39.42 kB / 1.243 GB, free: 89.73 MB / 0.823 GB Notification: Performance of SimCode: time 4.91e-07/0.3497, allocations: 0 / 1.243 GB, free: 89.73 MB / 0.823 GB Notification: Performance of Templates: time 0.01796/0.3677, allocations: 11.83 MB / 1.255 GB, free: 78.05 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1)