Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.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.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.692/1.692, allocations: 292.3 MB / 308.1 MB, free: 4.25 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.001475/0.001475, allocations: 188.5 kB / 376.9 MB, free: 1.816 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.797 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.001387/0.001387, allocations: 100.6 kB / 0.748 GB, free: 61.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 55.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3882, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.003283/0.3916, allocations: 1.231 MB / 0.9834 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003803/0.3954, allocations: 2.354 MB / 0.9857 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.3956, allocations: 0 / 0.9857 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.898e-05/0.3957, allocations: 15.8 kB / 0.9858 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.396, allocations: 75.39 kB / 0.9858 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003815/0.3998, allocations: 1.318 MB / 0.9871 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00175/0.4016, allocations: 1.053 MB / 0.9881 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.4017, allocations: 24.69 kB / 0.9882 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006498/0.4024, allocations: 431.2 kB / 0.9886 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004585/0.4028, allocations: 327.1 kB / 0.9889 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001662/0.403, allocations: 56 kB / 0.9889 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002322/0.4032, allocations: 79.98 kB / 0.989 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.459e-05/0.4033, allocations: 55.75 kB / 0.9891 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0004489/0.4038, allocations: 351 kB / 0.9894 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.4048, allocations: 0.9197 MB / 0.9903 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.4048, allocations: 0 / 0.9903 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4048, allocations: 7.875 kB / 0.9903 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.4048, allocations: 0 / 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.001726/0.4066, allocations: 1.172 MB / 0.9915 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.592e-05/0.4067, allocations: 8.031 kB / 0.9915 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/0.4069, allocations: 68.55 kB / 0.9915 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.4071, allocations: 228.4 kB / 0.9917 GB, free: 416 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.362e-05/0.4072, allocations: 36.36 kB / 0.9918 GB, free: 380 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.4074, allocations: 60.38 kB / 0.9918 GB, free: 320 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.4077, allocations: 218.9 kB / 0.992 GB, free: 48 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.4077, allocations: 192 / 0.992 GB, free: 48 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.4078, allocations: 11.92 kB / 0.9921 GB, free: 36 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.4078, allocations: 0 / 0.9921 GB, free: 36 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.4079, allocations: 67.78 kB / 0.9921 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.4089, allocations: 0.8522 MB / 0.993 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/0.4093, allocations: 319.3 kB / 0.9933 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.4095, allocations: 140.8 kB / 0.9934 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.4095, allocations: 15.94 kB / 0.9934 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007887/0.4103, allocations: 466.6 kB / 0.9939 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 2.225e-06/0.4103, allocations: 0 / 0.9939 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.001056/0.4114, allocations: 0.5503 MB / 0.9944 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002851/0.4117, allocations: 447.1 kB / 0.9948 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.412, allocations: 292.3 kB / 0.9951 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.4121, allocations: 69.69 kB / 0.9952 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.4123, allocations: 157.3 kB / 0.9953 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.4124, allocations: 94.84 kB / 0.9954 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005042/0.4129, allocations: 278 kB / 0.9957 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001988/0.4132, allocations: 354.8 kB / 0.996 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008426/0.414, allocations: 417.3 kB / 0.9964 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.4151, allocations: 0.7067 MB / 0.9971 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.4165, allocations: 1.191 MB / 0.9983 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.4165, allocations: 8 kB / 0.9983 GB, free: 8.836 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002896/0.4194, allocations: 1.724 MB / 0.9999 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003582/0.4198, allocations: 484.5 kB / 1 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/0.4198, allocations: 8 kB / 1 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.483e-05/0.4199, allocations: 16 kB / 1 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.704e-05/0.4199, allocations: 31.86 kB / 1 GB, free: 6.395 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.133e-05/0.42, allocations: 19.92 kB / 1 GB, free: 6.375 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/0.4224, allocations: 419.6 kB / 1.001 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001819/0.4226, allocations: 95.92 kB / 1.001 GB, free: 5.871 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.0004496/0.4231, allocations: 221.5 kB / 1.001 GB, free: 5.648 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.4232, allocations: 51.39 kB / 1.001 GB, free: 5.598 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.4233, allocations: 38.14 kB / 1.001 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.4234, allocations: 19.92 kB / 1.001 GB, free: 5.535 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.976e-05/0.4234, allocations: 4 kB / 1.001 GB, free: 5.531 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.4234, allocations: 4 kB / 1.001 GB, free: 5.527 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004552/0.4239, allocations: 329.3 kB / 1.002 GB, free: 5.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4239, allocations: 4 kB / 1.002 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-05/0.4239, allocations: 23.92 kB / 1.002 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.4239, allocations: 7.938 kB / 1.002 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.424, allocations: 19.98 kB / 1.002 GB, free: 5.102 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/0.424, allocations: 11.98 kB / 1.002 GB, free: 5.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.424, allocations: 7.938 kB / 1.002 GB, free: 5.082 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.4253, allocations: 1.229 MB / 1.003 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.161e-05/0.4254, allocations: 112.6 kB / 1.003 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.4255, allocations: 15.98 kB / 1.003 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.4256, allocations: 19.98 kB / 1.003 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.4257, allocations: 59.81 kB / 1.003 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/0.4257, allocations: 27.98 kB / 1.003 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001841/0.4259, allocations: 187.1 kB / 1.003 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4259, allocations: 4 kB / 1.003 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008304/0.4268, allocations: 196 kB / 1.003 GB, free: 3.125 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.0003257/0.4271, allocations: 143 kB / 1.004 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002222/0.4294, allocations: 1.738 MB / 1.005 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4294, allocations: 0 / 1.005 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.4297, allocations: 190.3 kB / 1.005 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008232/0.4305, allocations: 120.9 kB / 1.006 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.432, allocations: 0.9366 MB / 1.007 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.4324, allocations: 0.7917 MB / 1.007 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001345/0.4326, allocations: 43.3 kB / 1.007 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.387e-05/0.4326, allocations: 35.42 kB / 1.007 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.4326, allocations: 0 / 1.007 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of Templates: time 0.0243/0.4569, allocations: 11.85 MB / 1.019 GB, free: 3.113 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1)