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.646/2.646, allocations: 285 MB / 292.5 MB, free: 10.49 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.001397/0.001397, allocations: 196.7 kB / 360.8 MB, free: 7.242 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 1.955/1.955, allocations: 205.3 MB / 0.6192 GB, free: 12.11 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.001122/0.001121, allocations: 90.12 kB / 0.7322 GB, free: 44.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.144e-05/2.142e-05, allocations: 4 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8145/0.8146, allocations: 115.3 MB / 0.9635 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2712/1.086, allocations: 137.1 MB / 1.097 GB, free: 3.398 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/1.086, allocations: 69.22 kB / 1.097 GB, free: 3.332 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01436/1.101, allocations: 2.476 MB / 1.1 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.264e-06/1.101, allocations: 0.5938 kB / 1.1 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.766e-06/1.101, allocations: 1.594 kB / 1.1 GB, free: 0.8984 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.0007523/1.101, allocations: 363.5 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/1.102, allocations: 12.02 kB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.885e-05/1.102, allocations: 13.77 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/1.102, allocations: 176.7 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/1.102, allocations: 4 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/1.102, allocations: 3.75 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001397/1.102, allocations: 16 kB / 1.1 GB, free: 252 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/1.102, allocations: 51.06 kB / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/1.102, allocations: 0 / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/1.102, allocations: 0.7812 kB / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/1.102, allocations: 4 kB / 1.1 GB, free: 192 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/1.103, allocations: 295.9 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/1.104, allocations: 38.39 kB / 1.101 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.961e-05/1.104, allocations: 17.77 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/1.104, allocations: 7.938 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/1.104, allocations: 67.27 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.585e-06/1.104, allocations: 4.812 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003362/1.104, allocations: 73.59 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/1.104, allocations: 52.09 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/1.105, allocations: 112.6 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/1.105, allocations: 25.7 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.114e-05/1.105, allocations: 96.03 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/1.105, allocations: 16.5 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/1.105, allocations: 0 / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001908/1.105, allocations: 324.8 kB / 1.102 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.543e-05/1.105, allocations: 16 kB / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/1.105, allocations: 56.73 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005514/1.106, allocations: 51.89 kB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.106, allocations: 0 / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007587/1.107, allocations: 117.4 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/1.107, allocations: 8 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.107, allocations: 0 / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/1.107, allocations: 8.219 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/1.107, allocations: 15.98 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/1.107, allocations: 7.984 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/1.107, allocations: 11.91 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/1.107, allocations: 4 kB / 1.102 GB, free: 14.68 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.0001479/1.107, allocations: 125.3 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/1.108, allocations: 0 / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.943e-05/1.108, allocations: 12.62 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/1.108, allocations: 0 / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.133e-05/1.108, allocations: 0 / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/1.108, allocations: 3.938 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006214/1.108, allocations: 326.9 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.108, allocations: 0 / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/1.108, allocations: 11.98 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/1.108, allocations: 4 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/1.109, allocations: 6.094 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/1.109, allocations: 0 / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.109, allocations: 0 / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/1.109, allocations: 183.4 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.664e-05/1.109, allocations: 81.11 kB / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/1.109, allocations: 0 / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/1.109, allocations: 11.98 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/1.109, allocations: 4 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/1.109, allocations: 4 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.408e-05/1.109, allocations: 95.2 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.31e-07/1.109, allocations: 0 / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006313/1.11, allocations: 27.84 kB / 1.103 GB, free: 13.71 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.0002491/1.11, allocations: 117.3 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002502/1.111, allocations: 48.12 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.111, allocations: 0 / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.777e-05/1.111, allocations: 23.05 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/1.111, allocations: 7.984 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/1.112, allocations: 98.83 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/1.112, allocations: 0.6965 MB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.31e-05/1.112, allocations: 8 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.48e-05/1.112, allocations: 11.44 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of SimCode: time 9.72e-07/1.112, allocations: 0 / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of Templates: time 0.005343/1.118, allocations: 0.7872 MB / 1.104 GB, free: 11.92 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)