Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.0009515/0.0009514, 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.007748/0.007748, allocations: 169.9 kB / 16.27 MB, free: 6.66 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.629/1.629, 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.126/3.126, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004998/0.0004999, allocations: 10.81 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4177, allocations: 162.1 MB / 1.074 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.00151/0.4193, allocations: 0.877 MB / 1.075 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00352/0.4228, allocations: 2.352 MB / 1.077 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.4231, allocations: 4 kB / 1.077 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.768e-05/0.4232, allocations: 11.81 kB / 1.077 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003346/0.4235, allocations: 75.39 kB / 1.077 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003371/0.4269, allocations: 1.33 MB / 1.079 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001398/0.4283, allocations: 1.049 MB / 1.08 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.4284, allocations: 28.72 kB / 1.08 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009625/0.4294, allocations: 423.2 kB / 1.08 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006433/0.43, allocations: 323.1 kB / 1.08 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0005136/0.4306, allocations: 63.94 kB / 1.081 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004552/0.431, allocations: 79.98 kB / 1.081 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.659e-05/0.4311, allocations: 55.77 kB / 1.081 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0007763/0.4319, allocations: 376.7 kB / 1.081 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.4333, allocations: 0.9117 MB / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.4333, allocations: 3.938 kB / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.036e-06/0.4333, allocations: 0 / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.292e-05/0.4333, allocations: 0 / 1.082 GB, free: 15.58 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.001577/0.4349, allocations: 0.9885 MB / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.435, allocations: 8.031 kB / 1.083 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004151/0.4354, allocations: 60.66 kB / 1.083 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.4356, allocations: 228.3 kB / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.995e-05/0.4357, allocations: 36.36 kB / 1.083 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003439/0.4361, allocations: 76.3 kB / 1.083 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003508/0.4365, allocations: 209.3 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.4365, allocations: 192 / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.4365, allocations: 11.88 kB / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.4365, allocations: 7.984 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.4367, allocations: 67.78 kB / 1.084 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.4379, allocations: 0.8444 MB / 1.084 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003184/0.4382, allocations: 331.2 kB / 1.085 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.4384, allocations: 136.9 kB / 1.085 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.4384, allocations: 8 kB / 1.085 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006088/0.439, allocations: 454.9 kB / 1.085 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 2.845e-06/0.439, allocations: 0 / 1.085 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.001127/0.4401, allocations: 0.5692 MB / 1.086 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002362/0.4404, allocations: 435.2 kB / 1.086 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/0.4408, allocations: 300.3 kB / 1.087 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002113/0.441, allocations: 65.7 kB / 1.087 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.4412, allocations: 161.3 kB / 1.087 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.4414, allocations: 94.84 kB / 1.087 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/0.4416, allocations: 97.67 kB / 1.087 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.4418, allocations: 354.7 kB / 1.087 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008698/0.4427, allocations: 425.3 kB / 1.088 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.4437, allocations: 0.7028 MB / 1.088 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.4451, allocations: 1.195 MB / 1.089 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.229e-05/0.4451, allocations: 8 kB / 1.09 GB, free: 6.695 MB / 0.8419 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002856/0.448, allocations: 1.713 MB / 1.091 GB, free: 4.883 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003115/0.4483, allocations: 490.9 kB / 1.092 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-05/0.4484, allocations: 8 kB / 1.092 GB, free: 4.305 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.002e-05/0.4484, allocations: 16 kB / 1.092 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.567e-05/0.4485, allocations: 31.86 kB / 1.092 GB, free: 4.258 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/0.4485, allocations: 15.94 kB / 1.092 GB, free: 4.242 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/0.4512, allocations: 0.5708 MB / 1.092 GB, free: 3.676 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002176/0.4515, allocations: 99.92 kB / 1.092 GB, free: 3.578 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.0004161/0.4519, allocations: 217.5 kB / 1.093 GB, free: 3.355 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.452, allocations: 47.45 kB / 1.093 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.092e-05/0.4521, allocations: 38.14 kB / 1.093 GB, free: 3.27 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.4521, allocations: 8 kB / 1.093 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/0.4521, allocations: 8 kB / 1.093 GB, free: 3.254 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.4522, allocations: 7.984 kB / 1.093 GB, free: 3.246 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.4526, allocations: 329.4 kB / 1.093 GB, free: 2.875 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.4526, allocations: 4 kB / 1.093 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.892e-05/0.4527, allocations: 15.92 kB / 1.093 GB, free: 2.855 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.238e-06/0.4527, allocations: 11.94 kB / 1.093 GB, free: 2.844 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/0.4527, allocations: 15.98 kB / 1.093 GB, free: 2.828 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.718e-06/0.4527, allocations: 11.94 kB / 1.093 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.4527, allocations: 4 kB / 1.093 GB, free: 2.812 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006861/0.4534, allocations: 0.5274 MB / 1.094 GB, free: 2.227 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.235e-05/0.4535, allocations: 116.5 kB / 1.094 GB, free: 2.094 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.364e-05/0.4536, allocations: 15.98 kB / 1.094 GB, free: 2.078 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.4537, allocations: 11.98 kB / 1.094 GB, free: 2.066 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.866e-05/0.4538, allocations: 67.81 kB / 1.094 GB, free: 2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-05/0.4539, allocations: 27.98 kB / 1.094 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001741/0.454, allocations: 187.1 kB / 1.094 GB, free: 1.793 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.454, allocations: 0 / 1.094 GB, free: 1.793 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007532/0.4548, allocations: 204 kB / 1.094 GB, free: 1.594 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.0002298/0.455, allocations: 135.1 kB / 1.094 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002177/0.4572, allocations: 1.743 MB / 1.096 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4572, allocations: 320 / 1.096 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002758/0.4575, allocations: 188.5 kB / 1.096 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008682/0.4584, allocations: 125.2 kB / 1.096 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.4596, allocations: 0.7022 MB / 1.097 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.46, allocations: 0.7764 MB / 1.098 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001432/0.4602, allocations: 42.97 kB / 1.098 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.513e-05/0.4602, allocations: 35.44 kB / 1.098 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.4602, allocations: 0 / 1.098 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of Templates: time 0.0213/0.4816, allocations: 11.38 MB / 1.109 GB, free: 2.355 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1)