Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.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.PulseNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001019, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01003/0.01003, allocations: 170.5 kB / 16.26 MB, free: 6.676 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.638/1.638, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004279/0.000428, allocations: 13.94 kB / 0.9158 GB, free: 33.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.423, allocations: 162.2 MB / 1.074 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime): time 0.001407/0.4244, allocations: 0.877 MB / 1.075 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002829/0.4273, allocations: 2.344 MB / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.533e-05/0.4274, allocations: 0 / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.126e-05/0.4274, allocations: 11.81 kB / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.4276, allocations: 79.39 kB / 1.077 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002687/0.4303, allocations: 1.312 MB / 1.079 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000953/0.4313, allocations: 1.053 MB / 1.08 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.689e-05/0.4314, allocations: 24.73 kB / 1.08 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004217/0.4318, allocations: 427.2 kB / 1.08 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003547/0.4322, allocations: 327.1 kB / 1.08 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.4323, allocations: 56 kB / 1.081 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.4325, allocations: 75.98 kB / 1.081 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.599e-05/0.4326, allocations: 55.75 kB / 1.081 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003989/0.433, allocations: 384.7 kB / 1.081 GB, free: 492 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008181/0.4338, allocations: 0.9116 MB / 1.082 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4338, allocations: 0 / 1.082 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4338, allocations: 3.938 kB / 1.082 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.4338, allocations: 0 / 1.082 GB, free: 15.56 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.001046/0.4349, allocations: 0.9963 MB / 1.083 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.4349, allocations: 8.031 kB / 1.083 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.4351, allocations: 64.66 kB / 1.083 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.4353, allocations: 220.3 kB / 1.083 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.731e-05/0.4354, allocations: 44.36 kB / 1.083 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.4355, allocations: 68.34 kB / 1.083 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.4358, allocations: 206.9 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4358, allocations: 192 / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.4359, allocations: 15.92 kB / 1.083 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.4359, allocations: 4 kB / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.436, allocations: 63.78 kB / 1.084 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008758/0.4369, allocations: 0.8561 MB / 1.084 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.4372, allocations: 315.3 kB / 1.085 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.4373, allocations: 144.8 kB / 1.085 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.4373, allocations: 7.938 kB / 1.085 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006287/0.438, allocations: 462.9 kB / 1.085 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 2.394e-06/0.438, allocations: 0 / 1.085 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.001011/0.439, allocations: 0.5612 MB / 1.086 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002113/0.4392, allocations: 443.1 kB / 1.086 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.4395, allocations: 292.3 kB / 1.086 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.4396, allocations: 69.69 kB / 1.087 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.4398, allocations: 161.3 kB / 1.087 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.395e-05/0.4399, allocations: 90.86 kB / 1.087 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.4401, allocations: 101.7 kB / 1.087 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.4403, allocations: 350.8 kB / 1.087 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000808/0.4411, allocations: 421.3 kB / 1.088 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009922/0.4421, allocations: 0.7106 MB / 1.088 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.4434, allocations: 1.191 MB / 1.089 GB, free: 6.684 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.4435, allocations: 4 kB / 1.089 GB, free: 6.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002699/0.4462, allocations: 1.725 MB / 1.091 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003202/0.4465, allocations: 477.4 kB / 1.092 GB, free: 4.297 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.4465, allocations: 12 kB / 1.092 GB, free: 4.285 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/0.4466, allocations: 12 kB / 1.092 GB, free: 4.273 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.535e-05/0.4466, allocations: 31.86 kB / 1.092 GB, free: 4.242 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.318e-05/0.4467, allocations: 19.92 kB / 1.092 GB, free: 4.223 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002701/0.4494, allocations: 0.5757 MB / 1.092 GB, free: 3.652 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/0.4496, allocations: 95.92 kB / 1.092 GB, free: 3.559 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.0003541/0.4499, allocations: 221.5 kB / 1.093 GB, free: 3.332 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.27e-05/0.45, allocations: 51.39 kB / 1.093 GB, free: 3.281 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.657e-05/0.4501, allocations: 38.14 kB / 1.093 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.4501, allocations: 8 kB / 1.093 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/0.4501, allocations: 4 kB / 1.093 GB, free: 3.23 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.4502, allocations: 4 kB / 1.093 GB, free: 3.227 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.4506, allocations: 329.4 kB / 1.093 GB, free: 2.855 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.4506, allocations: 4 kB / 1.093 GB, free: 2.852 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.58e-05/0.4506, allocations: 19.92 kB / 1.093 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.4506, allocations: 7.938 kB / 1.093 GB, free: 2.824 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.4507, allocations: 31.97 kB / 1.093 GB, free: 2.793 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.4507, allocations: 4 kB / 1.093 GB, free: 2.789 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.4507, allocations: 7.938 kB / 1.093 GB, free: 2.781 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006808/0.4514, allocations: 0.5196 MB / 1.094 GB, free: 2.203 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.759e-05/0.4515, allocations: 116.5 kB / 1.094 GB, free: 2.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.4515, allocations: 15.98 kB / 1.094 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.4516, allocations: 19.98 kB / 1.094 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.634e-05/0.4517, allocations: 63.81 kB / 1.094 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.4518, allocations: 27.98 kB / 1.094 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001674/0.4519, allocations: 191.1 kB / 1.094 GB, free: 1.762 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4519, allocations: 0 / 1.094 GB, free: 1.762 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006092/0.4526, allocations: 200 kB / 1.094 GB, free: 1.566 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.0002062/0.4528, allocations: 127.2 kB / 1.094 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001986/0.4548, allocations: 1.75 MB / 1.096 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4548, allocations: 0 / 1.096 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000247/0.455, allocations: 188.4 kB / 1.096 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000814/0.4559, allocations: 127.8 kB / 1.096 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.4569, allocations: 0.7099 MB / 1.097 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.4573, allocations: 0.7725 MB / 1.098 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.4574, allocations: 42.97 kB / 1.098 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.4575, allocations: 35.42 kB / 1.098 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of SimCode: time 1.132e-06/0.4575, allocations: 4 kB / 1.098 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of Templates: time 0.01928/0.4768, allocations: 11.37 MB / 1.109 GB, free: 2.328 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1)