Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.698/2.698, allocations: 284.8 MB / 297.3 MB, free: 6.383 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001402/0.001401, allocations: 172.8 kB / 365.7 MB, free: 2.59 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.1 MB / 0.6241 GB, free: 8.188 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001057/0.001056, allocations: 98.28 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.708e-05/3.715e-05, allocations: 8 kB / 0.8575 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7847/0.7848, allocations: 115.2 MB / 0.97 GB, free: 77.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2918/1.077, allocations: 137.7 MB / 1.105 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/1.077, allocations: 75.95 kB / 1.105 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01115/1.088, allocations: 2.485 MB / 1.107 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.603e-06/1.088, allocations: 0 / 1.107 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.656e-06/1.088, allocations: 0 / 1.107 GB, free: 12.14 MB / 0.7136 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.0006506/1.089, allocations: 378.3 kB / 1.107 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/1.089, allocations: 8.688 kB / 1.107 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/1.089, allocations: 13.05 kB / 1.107 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/1.089, allocations: 171 kB / 1.108 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/1.089, allocations: 0 / 1.108 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/1.089, allocations: 11.98 kB / 1.108 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/1.089, allocations: 54.91 kB / 1.108 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/1.089, allocations: 0 / 1.108 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/1.089, allocations: 0 / 1.108 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/1.089, allocations: 0 / 1.108 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.443e-05/1.09, allocations: 27.94 kB / 1.108 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008077/1.09, allocations: 307 kB / 1.108 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/1.091, allocations: 52.28 kB / 1.108 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/1.091, allocations: 16.98 kB / 1.108 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.861e-05/1.091, allocations: 4.688 kB / 1.108 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/1.091, allocations: 72.7 kB / 1.108 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.043e-06/1.091, allocations: 0 / 1.108 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000261/1.091, allocations: 77.59 kB / 1.108 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/1.091, allocations: 59.3 kB / 1.108 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/1.091, allocations: 116.9 kB / 1.108 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/1.091, allocations: 29.7 kB / 1.108 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/1.091, allocations: 96.03 kB / 1.108 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/1.092, allocations: 15.84 kB / 1.108 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/1.092, allocations: 0 / 1.108 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.092, allocations: 318.8 kB / 1.109 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.801e-05/1.092, allocations: 16.72 kB / 1.109 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/1.092, allocations: 59.36 kB / 1.109 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.937e-05/1.092, allocations: 26.8 kB / 1.109 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/1.092, allocations: 2.25 kB / 1.109 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002836/1.092, allocations: 105.4 kB / 1.109 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/1.092, allocations: 7.688 kB / 1.109 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/1.092, allocations: 4 kB / 1.109 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.092, allocations: 4 kB / 1.109 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/1.093, allocations: 23.97 kB / 1.109 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/1.093, allocations: 7.125 kB / 1.109 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/1.093, allocations: 21.23 kB / 1.109 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/1.093, allocations: 4 kB / 1.109 GB, free: 9.875 MB / 0.7136 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 () * 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 0.0001077/1.093, allocations: 118.6 kB / 1.109 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/1.093, allocations: 4 kB / 1.109 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/1.093, allocations: 8.625 kB / 1.109 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/1.093, allocations: 0 / 1.109 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/1.093, allocations: 0 / 1.109 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.093, allocations: 4.781 kB / 1.109 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/1.094, allocations: 362.6 kB / 1.11 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.094, allocations: 0 / 1.11 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/1.094, allocations: 8 kB / 1.11 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/1.094, allocations: 3.984 kB / 1.11 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/1.094, allocations: 6.594 kB / 1.11 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/1.094, allocations: 7.953 kB / 1.11 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.094, allocations: 0 / 1.11 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/1.094, allocations: 183.4 kB / 1.11 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/1.094, allocations: 81.11 kB / 1.11 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/1.094, allocations: 0 / 1.11 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/1.094, allocations: 7.984 kB / 1.11 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/1.094, allocations: 11.94 kB / 1.11 GB, free: 9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/1.094, allocations: 4 kB / 1.11 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.417e-05/1.094, allocations: 89.36 kB / 1.11 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.51e-07/1.094, allocations: 0 / 1.11 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000378/1.095, allocations: 35.83 kB / 1.11 GB, free: 8.875 MB / 0.7136 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 () * 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.0002011/1.095, allocations: 103.2 kB / 1.11 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002114/1.095, allocations: 55.92 kB / 1.11 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.095, allocations: 0 / 1.11 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.189e-05/1.095, allocations: 27.94 kB / 1.11 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/1.096, allocations: 4.438 kB / 1.11 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/1.096, allocations: 109.4 kB / 1.11 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/1.096, allocations: 0.6887 MB / 1.111 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.515e-05/1.096, allocations: 7.984 kB / 1.111 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/1.096, allocations: 11.44 kB / 1.111 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of SimCode: time 8.92e-07/1.096, allocations: 0 / 1.111 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of Templates: time 0.004358/1.101, allocations: 0.8431 MB / 1.112 GB, free: 7.016 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)