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.001216/0.001216, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002108/0.002108, allocations: 192 kB / 16.53 MB, free: 6.391 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.511/1.511, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.976/2.976, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 63.5 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3931, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.002572/0.3957, allocations: 1.164 MB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00257/0.3983, allocations: 2.178 MB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.359e-05/0.3984, allocations: 0 / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.54e-05/0.3984, allocations: 23.69 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.3986, allocations: 83.27 kB / 1.072 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.4014, allocations: 1.384 MB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001285/0.4027, allocations: 1.287 MB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.29e-05/0.4028, allocations: 24.73 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004644/0.4033, allocations: 479.2 kB / 1.075 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003396/0.4036, allocations: 347.1 kB / 1.075 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001806/0.4038, allocations: 104 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002395/0.4041, allocations: 116 kB / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.353e-05/0.4042, allocations: 59.77 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004134/0.4046, allocations: 395 kB / 1.076 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009268/0.4055, allocations: 0.9704 MB / 1.077 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4055, allocations: 0 / 1.077 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4055, allocations: 0 / 1.077 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.4056, allocations: 0 / 1.077 GB, free: 1.805 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.001305/0.4069, allocations: 1.172 MB / 1.078 GB, free: 500 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.4069, allocations: 8.031 kB / 1.078 GB, free: 492 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/0.4071, allocations: 64.64 kB / 1.078 GB, free: 428 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.4073, allocations: 224.3 kB / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.745e-05/0.4074, allocations: 40.36 kB / 1.078 GB, free: 128 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.4075, allocations: 64.36 kB / 1.078 GB, free: 64 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.4078, allocations: 215.6 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.4078, allocations: 192 / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.4079, allocations: 15.92 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.4079, allocations: 0 / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.408, allocations: 67.72 kB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008549/0.4089, allocations: 0.8484 MB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.4092, allocations: 331.2 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.4093, allocations: 132.9 kB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.4094, allocations: 11.92 kB / 1.08 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005682/0.4099, allocations: 459 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 1.884e-06/0.41, allocations: 0 / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.001031/0.411, allocations: 0.5614 MB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000204/0.4112, allocations: 447.1 kB / 1.081 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.4115, allocations: 296.3 kB / 1.081 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001231/0.4117, allocations: 61.7 kB / 1.081 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.4119, allocations: 157.3 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.378e-05/0.4119, allocations: 102.8 kB / 1.082 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004419/0.4124, allocations: 274.1 kB / 1.082 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4125, allocations: 354.7 kB / 1.082 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000839/0.4134, allocations: 425.3 kB / 1.083 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009959/0.4144, allocations: 0.7067 MB / 1.083 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.4157, allocations: 1.191 MB / 1.085 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-06/0.4157, allocations: 7.938 kB / 1.085 GB, free: 8.566 MB / 0.8419 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002722/0.4184, allocations: 1.717 MB / 1.086 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003192/0.4187, allocations: 490.8 kB / 1.087 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.4188, allocations: 8 kB / 1.087 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.277e-05/0.4188, allocations: 16 kB / 1.087 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.235e-05/0.4189, allocations: 31.86 kB / 1.087 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.182e-05/0.4189, allocations: 23.91 kB / 1.087 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/0.4212, allocations: 423.2 kB / 1.087 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.4214, allocations: 95.92 kB / 1.087 GB, free: 5.594 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.0003482/0.4218, allocations: 221.5 kB / 1.087 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.202e-05/0.4219, allocations: 43.47 kB / 1.087 GB, free: 5.328 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.42e-05/0.422, allocations: 38.14 kB / 1.088 GB, free: 5.285 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.422, allocations: 12 kB / 1.088 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/0.422, allocations: 4 kB / 1.088 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.422, allocations: 7.984 kB / 1.088 GB, free: 5.262 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003988/0.4224, allocations: 325.4 kB / 1.088 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.4224, allocations: 4 kB / 1.088 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.5e-05/0.4225, allocations: 19.92 kB / 1.088 GB, free: 4.871 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.4225, allocations: 7.938 kB / 1.088 GB, free: 4.863 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.4225, allocations: 19.98 kB / 1.088 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.4225, allocations: 4 kB / 1.088 GB, free: 4.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.4225, allocations: 11.94 kB / 1.088 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006861/0.4232, allocations: 0.5235 MB / 1.088 GB, free: 4.246 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.574e-05/0.4233, allocations: 116.5 kB / 1.089 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.458e-05/0.4234, allocations: 15.98 kB / 1.089 GB, free: 4.098 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.4235, allocations: 15.98 kB / 1.089 GB, free: 4.082 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.4236, allocations: 67.81 kB / 1.089 GB, free: 4.016 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/0.4238, allocations: 27.98 kB / 1.089 GB, free: 3.988 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000196/0.424, allocations: 187.1 kB / 1.089 GB, free: 3.809 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.424, allocations: 0 / 1.089 GB, free: 3.809 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007225/0.4247, allocations: 196 kB / 1.089 GB, free: 3.617 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.0004088/0.4251, allocations: 135.7 kB / 1.089 GB, free: 3.477 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00227/0.4274, allocations: 1.766 MB / 1.091 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.4274, allocations: 0 / 1.091 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002857/0.4277, allocations: 188.5 kB / 1.091 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007621/0.4285, allocations: 128.4 kB / 1.091 GB, free: 1.223 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.4297, allocations: 0.6406 MB / 1.092 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.4302, allocations: 0.7761 MB / 1.093 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001337/0.4304, allocations: 42.97 kB / 1.093 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.917e-05/0.4304, allocations: 39.44 kB / 1.093 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.4304, allocations: 0 / 1.093 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of Templates: time 0.02152/0.452, allocations: 11.95 MB / 1.104 GB, free: 3.84 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)