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.001286/0.001286, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002172/0.002173, allocations: 193.6 kB / 16.14 MB, free: 6.695 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.644/1.644, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.051/3.051, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 68.48 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3964, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.002684/0.3992, allocations: 1.218 MB / 1.069 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003022/0.4022, allocations: 2.344 MB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.553e-05/0.4023, allocations: 4 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.744e-05/0.4024, allocations: 15.8 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.4026, allocations: 75.38 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.4055, allocations: 1.322 MB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001009/0.4065, allocations: 1.049 MB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.602e-05/0.4066, allocations: 28.72 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004779/0.4071, allocations: 419.3 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003534/0.4074, allocations: 331 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.4076, allocations: 60 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002271/0.4078, allocations: 79.92 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.666e-05/0.4079, allocations: 51.83 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004117/0.4083, allocations: 347 kB / 1.075 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009113/0.4092, allocations: 0.9275 MB / 1.076 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4092, allocations: 4 kB / 1.076 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.12e-07/0.4092, allocations: 0 / 1.076 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.4093, allocations: 0 / 1.076 GB, free: 2.68 MB / 0.8262 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.001499/0.4108, allocations: 1.164 MB / 1.077 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4108, allocations: 12.03 kB / 1.077 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002039/0.411, allocations: 60.66 kB / 1.077 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.4112, allocations: 224.3 kB / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.152e-05/0.4113, allocations: 36.36 kB / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.4114, allocations: 68.36 kB / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.4117, allocations: 218.9 kB / 1.077 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.4118, allocations: 192 / 1.077 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.4118, allocations: 7.938 kB / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.4118, allocations: 7.938 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.4119, allocations: 67.78 kB / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00092/0.4128, allocations: 0.8444 MB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003184/0.4132, allocations: 327.2 kB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.4133, allocations: 136.9 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.4134, allocations: 8 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000578/0.4139, allocations: 466.9 kB / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 2.044e-06/0.4139, allocations: 0 / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.001019/0.415, allocations: 0.5618 MB / 1.08 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002319/0.4152, allocations: 439.2 kB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.4155, allocations: 304.2 kB / 1.08 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.4156, allocations: 65.7 kB / 1.08 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.4158, allocations: 161.3 kB / 1.081 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.678e-05/0.4159, allocations: 94.84 kB / 1.081 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004687/0.4164, allocations: 270.1 kB / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.4166, allocations: 354.8 kB / 1.081 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008568/0.4174, allocations: 421.3 kB / 1.082 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.4185, allocations: 0.7028 MB / 1.082 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.4199, allocations: 1.191 MB / 1.084 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.4199, allocations: 4 kB / 1.084 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003054/0.423, allocations: 1.725 MB / 1.085 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003797/0.4234, allocations: 481.4 kB / 1.086 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.4234, allocations: 12 kB / 1.086 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.513e-05/0.4235, allocations: 12 kB / 1.086 GB, free: 7.051 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.522e-05/0.4236, allocations: 35.84 kB / 1.086 GB, free: 7.016 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.197e-05/0.4236, allocations: 15.94 kB / 1.086 GB, free: 7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/0.426, allocations: 422.9 kB / 1.086 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.4262, allocations: 95.92 kB / 1.086 GB, free: 6.492 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.0003695/0.4266, allocations: 221.5 kB / 1.086 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.344e-05/0.4267, allocations: 47.45 kB / 1.087 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.638e-05/0.4267, allocations: 42.14 kB / 1.087 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.4268, allocations: 8 kB / 1.087 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.4268, allocations: 8 kB / 1.087 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.4268, allocations: 7.984 kB / 1.087 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.4272, allocations: 329.4 kB / 1.087 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.4272, allocations: 4 kB / 1.087 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.652e-05/0.4272, allocations: 19.92 kB / 1.087 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.4272, allocations: 11.94 kB / 1.087 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.4273, allocations: 15.98 kB / 1.087 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/0.4273, allocations: 11.94 kB / 1.087 GB, free: 5.715 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4273, allocations: 4 kB / 1.087 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000724/0.428, allocations: 0.5157 MB / 1.087 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.56e-05/0.4281, allocations: 120.5 kB / 1.088 GB, free: 5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.507e-05/0.4282, allocations: 15.98 kB / 1.088 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.4283, allocations: 12 kB / 1.088 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.4284, allocations: 71.75 kB / 1.088 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.4284, allocations: 31.97 kB / 1.088 GB, free: 4.871 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000172/0.4286, allocations: 187.1 kB / 1.088 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4286, allocations: 0 / 1.088 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006435/0.4293, allocations: 200 kB / 1.088 GB, free: 4.496 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.0002432/0.4295, allocations: 131.2 kB / 1.088 GB, free: 4.359 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002058/0.4316, allocations: 1.747 MB / 1.09 GB, free: 2.43 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4316, allocations: 0 / 1.09 GB, free: 2.43 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.4319, allocations: 185.2 kB / 1.09 GB, free: 2.25 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007092/0.4326, allocations: 132.9 kB / 1.09 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.4337, allocations: 0.6917 MB / 1.091 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/0.4342, allocations: 0.7803 MB / 1.092 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001243/0.4343, allocations: 42.97 kB / 1.092 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.4344, allocations: 39.42 kB / 1.092 GB, free: 480 kB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.4344, allocations: 0 / 1.092 GB, free: 480 kB / 0.8419 GB Notification: Performance of Templates: time 0.01965/0.454, allocations: 11.37 MB / 1.103 GB, free: 5.262 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)