Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.047/5.047, allocations: 0.5623 GB / 0.5769 GB, free: 3.328 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.002397/0.002397, allocations: 361.1 kB / 0.644 GB, free: 185.6 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.481/4.481, allocations: 410.7 MB / 1.112 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.001771/0.001771, allocations: 188.4 kB / 1.225 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007968/0.0007975, allocations: 12 kB / 1.348 GB, free: 8.242 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5982/0.599, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.0007778/0.5998, allocations: 470.4 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.601, allocations: 1.053 MB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.014e-05/0.6011, allocations: 8.656 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.416e-05/0.6011, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.642e-05/0.6012, allocations: 9.453 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.6014, allocations: 39.84 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.937e-05/0.6015, allocations: 67.77 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.256e-05/0.6016, allocations: 19.03 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.755e-05/0.6017, allocations: 24.92 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.359e-05/0.6018, allocations: 27.86 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.6018, allocations: 0 / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.022e-05/0.6019, allocations: 20.62 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.6019, allocations: 9.391 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.6019, allocations: 37.64 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.091e-05/0.602, allocations: 51.88 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.767e-06/0.6021, allocations: 0 / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.717e-06/0.6021, allocations: 0.6875 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.649e-06/0.6021, 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.0004452/0.6025, allocations: 375.5 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.6026, allocations: 15.62 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.6026, allocations: 5.25 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.448e-05/0.6027, allocations: 181 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.6028, allocations: 0 / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.6028, allocations: 4 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.603, allocations: 83.31 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.482e-06/0.603, allocations: 1.25 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.6031, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.702e-06/0.6031, allocations: 4 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.6033, allocations: 52.12 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006097/0.6039, allocations: 338.6 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.6041, allocations: 61.83 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.6043, allocations: 28.97 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.6043, allocations: 9.5 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/0.6045, allocations: 81.19 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.605e-06/0.6045, allocations: 4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.000469/0.605, allocations: 144.6 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.6051, allocations: 60.05 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.31e-05/0.6052, allocations: 130.3 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.6052, allocations: 25.7 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.6052, allocations: 89.67 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.6053, allocations: 15.8 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.589e-06/0.6053, allocations: 4 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.146e-05/0.6054, allocations: 315.4 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.6055, allocations: 37.5 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.6057, allocations: 80.77 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.6058, allocations: 47.03 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.89e-06/0.6058, allocations: 0.6562 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003741/0.6062, allocations: 137.2 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.6062, allocations: 4 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.6063, allocations: 4.844 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.6063, allocations: 5.406 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.6064, allocations: 19.92 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.36e-06/0.6065, allocations: 9.484 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.6066, allocations: 23.83 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.6066, allocations: 4 kB / 1.465 GB, free: 279.9 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 8.059e-05/0.6067, allocations: 119.4 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.6067, allocations: 7.984 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.6068, allocations: 9.031 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.988e-06/0.6068, allocations: 5.031 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.114e-06/0.6068, allocations: 0.5625 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.302e-06/0.6068, allocations: 4.797 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.6073, allocations: 380.8 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.6073, allocations: 5.656 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.788e-05/0.6074, allocations: 11.94 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.163e-06/0.6074, allocations: 3.984 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.6075, allocations: 6.438 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.272e-06/0.6075, allocations: 3.953 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.98e-06/0.6075, allocations: 4 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.6078, allocations: 205.6 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/0.6078, allocations: 85.09 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.6079, allocations: 2.219 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.608, allocations: 8 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.6081, allocations: 9.016 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.6081, allocations: 8 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.805e-05/0.6081, allocations: 97.55 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.348e-06/0.6082, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003567/0.6085, allocations: 19.84 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001425/0.6087, allocations: 110.2 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003261/0.609, allocations: 87.7 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.61e-06/0.609, allocations: 4.781 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.6092, allocations: 37.94 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.6095, allocations: 12 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003597/0.6099, allocations: 176.3 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.6101, allocations: 0.694 MB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.31e-05/0.6101, allocations: 4 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.6102, allocations: 15.38 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.375e-06/0.6102, allocations: 0.5 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.003629/0.6138, allocations: 0.8472 MB / 1.468 GB, free: 276.9 MB / 0.8542 GB