Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.269/5.269, allocations: 0.5623 GB / 0.5775 GB, free: 3.309 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002544/0.002544, allocations: 357.2 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.632/4.632, allocations: 410.7 MB / 1.113 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001903/0.001903, allocations: 178.6 kB / 1.226 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005063/0.0005066, allocations: 16 kB / 1.349 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8589/0.8595, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.0009882/0.8605, allocations: 474.7 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.8621, allocations: 1.05 MB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.99e-05/0.8622, allocations: 4 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.8622, allocations: 5.031 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.347e-05/0.8623, allocations: 15.84 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.8626, allocations: 34.02 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.37e-05/0.8627, allocations: 63.77 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.8628, allocations: 18.61 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.092e-05/0.8629, allocations: 23.92 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.734e-05/0.863, allocations: 28.56 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.863, allocations: 0 / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.299e-05/0.8631, allocations: 30.56 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.8631, allocations: 4 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.8632, allocations: 37.64 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.8633, allocations: 55.86 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.8633, allocations: 0 / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.714e-06/0.8633, allocations: 0 / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.8633, allocations: 0 / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000573/0.8639, allocations: 373.6 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.864, allocations: 15.62 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.864, allocations: 4 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.8641, allocations: 170.9 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.8642, allocations: 11.94 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.8642, allocations: 4 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.8645, allocations: 70.47 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.8645, allocations: 1.219 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.8645, allocations: 4 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.8645, allocations: 4 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.8648, allocations: 50.98 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008292/0.8657, allocations: 340.4 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.8659, allocations: 54.56 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.8661, allocations: 38.58 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.8661, allocations: 2.75 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00028/0.8664, allocations: 83.41 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 3.617e-06/0.8665, allocations: 1.062 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0006236/0.8671, allocations: 152.8 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.8671, allocations: 55.36 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.767e-05/0.8672, allocations: 123.6 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.8673, allocations: 29.7 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.8673, allocations: 97.84 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.8674, allocations: 11.81 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/0.8674, allocations: 0 / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.267e-05/0.8675, allocations: 322.8 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.8676, allocations: 33.36 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.8678, allocations: 81.92 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.8681, allocations: 40.7 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.8681, allocations: 4 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004717/0.8686, allocations: 145 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.8686, allocations: 8.469 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.8686, allocations: 4 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.8686, allocations: 0.7188 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.8688, allocations: 24.59 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.8689, allocations: 4 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.869, allocations: 21.05 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.8691, allocations: 12.64 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler1.y,triggeredSampler1.y,$PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y,$whenCondition2,samTri1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.421e-05/0.8692, allocations: 118.6 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.933e-05/0.8692, allocations: 4 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.8693, allocations: 8.875 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.8693, allocations: 0.9062 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8693, allocations: 0 / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/0.8693, allocations: 86.27 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.8694, allocations: 7.938 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.143e-05/0.8695, allocations: 12.5 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.8695, allocations: 5.797 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004775/0.87, allocations: 200.3 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004227/0.8704, allocations: 285.3 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001753/0.8706, allocations: 49.8 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.165e-05/0.8707, allocations: 97.14 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of Backend: time 8.72e-07/0.8707, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006481/0.8714, allocations: 148.2 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0005212/0.8719, allocations: 0.6107 MB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.004369/0.8763, allocations: 0.9194 MB / 1.468 GB, free: 277.5 MB / 0.8542 GB