Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.0153/0.0153, allocations: 169.2 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.192/3.192, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006481/0.0006481, allocations: 11.03 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4852/0.4858, allocations: 162.2 MB / 1.074 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.002623/0.4885, allocations: 0.8731 MB / 1.075 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005464/0.4941, allocations: 2.344 MB / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003768/0.4945, allocations: 7.938 kB / 1.077 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.4946, allocations: 15.8 kB / 1.077 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006384/0.4953, allocations: 71.39 kB / 1.077 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005762/0.5011, allocations: 1.319 MB / 1.079 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002148/0.5032, allocations: 1.053 MB / 1.08 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.5034, allocations: 20.73 kB / 1.08 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.5052, allocations: 427.2 kB / 1.08 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009893/0.5062, allocations: 331 kB / 1.08 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0007536/0.5069, allocations: 60 kB / 1.081 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007147/0.5077, allocations: 71.98 kB / 1.081 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.5079, allocations: 55.75 kB / 1.081 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.509, allocations: 376.7 kB / 1.081 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.5105, allocations: 0.9156 MB / 1.082 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.5105, allocations: 0 / 1.082 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.625e-06/0.5105, allocations: 0 / 1.082 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.5105, allocations: 0 / 1.082 GB, free: 15.6 MB / 0.8419 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.001827/0.5124, allocations: 0.9924 MB / 1.083 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.537e-05/0.5125, allocations: 8.031 kB / 1.083 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003112/0.5128, allocations: 68.64 kB / 1.083 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.5131, allocations: 220.3 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-05/0.5132, allocations: 40.3 kB / 1.083 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002986/0.5135, allocations: 64.36 kB / 1.083 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005107/0.5141, allocations: 207 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.5141, allocations: 8.125 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/0.5142, allocations: 15.91 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.5142, allocations: 8 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.5144, allocations: 63.78 kB / 1.084 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.5162, allocations: 0.8483 MB / 1.084 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006488/0.5169, allocations: 323.1 kB / 1.085 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003384/0.5173, allocations: 140.9 kB / 1.085 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.5173, allocations: 7.984 kB / 1.085 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001275/0.5186, allocations: 459 kB / 1.085 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 6.692e-06/0.5186, allocations: 0 / 1.085 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.002296/0.5209, allocations: 0.5691 MB / 1.086 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005987/0.5216, allocations: 435.2 kB / 1.086 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007139/0.5223, allocations: 292.3 kB / 1.086 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0004489/0.5228, allocations: 65.7 kB / 1.087 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004775/0.5233, allocations: 165.3 kB / 1.087 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/0.5235, allocations: 98.84 kB / 1.087 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004421/0.524, allocations: 97.67 kB / 1.087 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0003056/0.5243, allocations: 350.8 kB / 1.087 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001771/0.5261, allocations: 421.3 kB / 1.088 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002266/0.5284, allocations: 0.7067 MB / 1.088 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002891/0.5313, allocations: 1.199 MB / 1.089 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-05/0.5314, allocations: 3.938 kB / 1.09 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.005879/0.5373, allocations: 1.716 MB / 1.091 GB, free: 4.898 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005533/0.5378, allocations: 482.7 kB / 1.092 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.191e-05/0.5379, allocations: 12 kB / 1.092 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.285e-05/0.538, allocations: 12 kB / 1.092 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.5381, allocations: 35.86 kB / 1.092 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-05/0.5382, allocations: 23.92 kB / 1.092 GB, free: 4.254 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005087/0.5433, allocations: 0.5663 MB / 1.092 GB, free: 3.691 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004131/0.5437, allocations: 95.92 kB / 1.092 GB, free: 3.598 MB / 0.8419 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.0007801/0.5445, allocations: 221.5 kB / 1.093 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/0.5448, allocations: 43.47 kB / 1.093 GB, free: 3.328 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.545, allocations: 42.14 kB / 1.093 GB, free: 3.285 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/0.5451, allocations: 8 kB / 1.093 GB, free: 3.277 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-05/0.5451, allocations: 4 kB / 1.093 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.252e-05/0.5451, allocations: 7.984 kB / 1.093 GB, free: 3.266 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008733/0.546, allocations: 325.4 kB / 1.093 GB, free: 2.898 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.546, allocations: 4 kB / 1.093 GB, free: 2.895 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.404e-05/0.5461, allocations: 23.92 kB / 1.093 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.031e-05/0.5462, allocations: 7.938 kB / 1.093 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.778e-05/0.5462, allocations: 19.98 kB / 1.093 GB, free: 2.844 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-05/0.5463, allocations: 11.94 kB / 1.093 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/0.5463, allocations: 4 kB / 1.093 GB, free: 2.828 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.5477, allocations: 0.5196 MB / 1.094 GB, free: 2.25 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.5478, allocations: 120.5 kB / 1.094 GB, free: 2.113 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.271e-05/0.5479, allocations: 11.98 kB / 1.094 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.5483, allocations: 23.98 kB / 1.094 GB, free: 2.078 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.5484, allocations: 63.8 kB / 1.094 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.636e-05/0.5485, allocations: 27.98 kB / 1.094 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000322/0.5489, allocations: 187.1 kB / 1.094 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.41e-07/0.5489, allocations: 0 / 1.094 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001482/0.5504, allocations: 200 kB / 1.094 GB, free: 1.613 MB / 0.8419 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.0003512/0.5508, allocations: 139.1 kB / 1.094 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004248/0.555, allocations: 1.742 MB / 1.096 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.794e-05/0.5551, allocations: 3.938 kB / 1.096 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005747/0.5557, allocations: 187.7 kB / 1.096 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/0.5573, allocations: 124 kB / 1.096 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.5596, allocations: 0.7036 MB / 1.097 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00084/0.5604, allocations: 0.7764 MB / 1.098 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002833/0.5607, allocations: 46.95 kB / 1.098 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.5609, allocations: 39.42 kB / 1.098 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of SimCode: time 1.402e-06/0.5609, allocations: 0 / 1.098 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of Templates: time 0.04038/0.6013, allocations: 11.37 MB / 1.109 GB, free: 2.371 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1)