Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.605/2.605, allocations: 287.5 MB / 303.2 MB, free: 8.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001369/0.001369, allocations: 183.1 kB / 371.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.076/2.076, allocations: 205.4 MB / 0.6305 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009312/0.000931, allocations: 86.59 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004774, allocations: 12.78 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2084, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9445/1.153, allocations: 137.8 MB / 1.114 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/1.153, allocations: 78.22 kB / 1.114 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0109/1.164, allocations: 2.508 MB / 1.116 GB, free: 31.49 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.484e-06/1.164, allocations: 0 / 1.116 GB, free: 31.49 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.014e-05/1.164, allocations: 7.875 kB / 1.116 GB, free: 31.49 MB / 0.698 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.0006412/1.165, allocations: 386.6 kB / 1.117 GB, free: 31.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/1.165, allocations: 7.844 kB / 1.117 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/1.165, allocations: 8.688 kB / 1.117 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/1.165, allocations: 171.9 kB / 1.117 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/1.165, allocations: 7.125 kB / 1.117 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/1.165, allocations: 12.09 kB / 1.117 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/1.165, allocations: 66.44 kB / 1.117 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/1.166, allocations: 192 / 1.117 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/1.166, allocations: 3.938 kB / 1.117 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/1.166, allocations: 0 / 1.117 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/1.166, allocations: 65.42 kB / 1.117 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00076/1.167, allocations: 311.7 kB / 1.117 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/1.167, allocations: 66.22 kB / 1.118 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/1.167, allocations: 33.7 kB / 1.118 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/1.167, allocations: 4.578 kB / 1.118 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002809/1.167, allocations: 86.25 kB / 1.118 GB, free: 30.49 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.746e-06/1.167, allocations: 0 / 1.118 GB, free: 30.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0006205/1.168, allocations: 155 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/1.168, allocations: 58.14 kB / 1.118 GB, free: 30.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/1.168, allocations: 114.2 kB / 1.118 GB, free: 30.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/1.168, allocations: 33.61 kB / 1.118 GB, free: 30.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.914e-05/1.168, allocations: 87.92 kB / 1.118 GB, free: 30.17 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/1.168, allocations: 14.42 kB / 1.118 GB, free: 30.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-06/1.168, allocations: 7.875 kB / 1.118 GB, free: 30.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001408/1.169, allocations: 329.7 kB / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/1.169, allocations: 29.31 kB / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/1.169, allocations: 81.33 kB / 1.118 GB, free: 29.78 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/1.169, allocations: 114.9 kB / 1.119 GB, free: 29.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.169, allocations: 0 / 1.119 GB, free: 29.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004747/1.17, allocations: 143.2 kB / 1.119 GB, free: 29.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.17, allocations: 3.812 kB / 1.119 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.17, allocations: 3.875 kB / 1.119 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/1.17, allocations: 0 / 1.119 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/1.17, allocations: 21.95 kB / 1.119 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/1.17, allocations: 4.156 kB / 1.119 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/1.17, allocations: 26.44 kB / 1.119 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/1.17, allocations: 3.875 kB / 1.119 GB, free: 29.66 MB / 0.698 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 0.0001286/1.17, allocations: 128 kB / 1.119 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/1.17, allocations: 7.781 kB / 1.119 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/1.171, allocations: 12.25 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.171, allocations: 3.812 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.171, allocations: 4 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.171, allocations: 4 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006649/1.171, allocations: 383.4 kB / 1.119 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.171, allocations: 3.781 kB / 1.119 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.339e-05/1.171, allocations: 14.3 kB / 1.119 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/1.171, allocations: 0 / 1.119 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/1.171, allocations: 0 / 1.119 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/1.171, allocations: 0 / 1.119 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.171, allocations: 3.938 kB / 1.119 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/1.172, allocations: 218.4 kB / 1.12 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/1.172, allocations: 87.45 kB / 1.12 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/1.172, allocations: 0 / 1.12 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/1.172, allocations: 10.64 kB / 1.12 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/1.172, allocations: 10.38 kB / 1.12 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/1.172, allocations: 3.938 kB / 1.12 GB, free: 28.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.64e-05/1.172, allocations: 99.23 kB / 1.12 GB, free: 28.88 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.172, allocations: 0 / 1.12 GB, free: 28.88 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003612/1.173, allocations: 15.41 kB / 1.12 GB, free: 28.88 MB / 0.698 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.0001823/1.173, allocations: 117.3 kB / 1.12 GB, free: 28.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000412/1.173, allocations: 87.78 kB / 1.12 GB, free: 28.78 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.173, allocations: 0 / 1.12 GB, free: 28.78 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/1.173, allocations: 46.36 kB / 1.12 GB, free: 28.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/1.174, allocations: 3.906 kB / 1.12 GB, free: 28.77 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/1.174, allocations: 172.3 kB / 1.12 GB, free: 28.63 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/1.175, allocations: 0.6923 MB / 1.121 GB, free: 27.94 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.798e-05/1.175, allocations: 3.875 kB / 1.121 GB, free: 27.94 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/1.175, allocations: 11.28 kB / 1.121 GB, free: 27.93 MB / 0.698 GB Notification: Performance of SimCode: time 7.51e-07/1.175, allocations: 4 kB / 1.121 GB, free: 27.93 MB / 0.698 GB Notification: Performance of Templates: time 0.004102/1.179, allocations: 0.8445 MB / 1.122 GB, free: 27.85 MB / 0.698 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)