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.SampleTriggerPositiveStartTime.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.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.766/2.766, allocations: 287.5 MB / 302.4 MB, free: 8.461 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.001524/0.001524, allocations: 184 kB / 371 MB, free: 10.78 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.156/2.156, allocations: 205.4 MB / 0.6297 GB, free: 10.47 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 107.6 kB / 0.743 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005286/0.0005288, allocations: 12.38 kB / 0.8658 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2287, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9428/1.172, allocations: 137.8 MB / 1.113 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003653/1.172, allocations: 75.95 kB / 1.113 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01626/1.188, allocations: 2.5 MB / 1.116 GB, free: 31.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.194e-06/1.188, allocations: 0 / 1.116 GB, free: 31.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.125e-06/1.188, allocations: 0 / 1.116 GB, free: 31.34 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.0006222/1.189, allocations: 381.1 kB / 1.116 GB, free: 30.97 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/1.189, allocations: 15.64 kB / 1.116 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/1.189, allocations: 11.69 kB / 1.116 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/1.189, allocations: 172.3 kB / 1.116 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/1.189, allocations: 3.312 kB / 1.116 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/1.189, allocations: 3.812 kB / 1.116 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/1.19, allocations: 74.73 kB / 1.116 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/1.19, allocations: 3.812 kB / 1.116 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/1.19, allocations: 0 / 1.116 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/1.19, allocations: 7.938 kB / 1.116 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/1.19, allocations: 54.52 kB / 1.116 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007433/1.191, allocations: 330.7 kB / 1.117 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/1.191, allocations: 51.8 kB / 1.117 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/1.191, allocations: 7.344 kB / 1.117 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002751/1.191, allocations: 83.78 kB / 1.117 GB, free: 30.35 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.254e-06/1.191, allocations: 0 / 1.117 GB, free: 30.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0006328/1.192, allocations: 142.9 kB / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/1.192, allocations: 58.88 kB / 1.117 GB, free: 30.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/1.192, allocations: 113.5 kB / 1.117 GB, free: 30.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/1.192, allocations: 29.58 kB / 1.117 GB, free: 30.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/1.192, allocations: 90.19 kB / 1.117 GB, free: 30.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/1.192, allocations: 15.16 kB / 1.117 GB, free: 30.03 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/1.192, allocations: 0 / 1.117 GB, free: 30.03 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001459/1.192, allocations: 325.1 kB / 1.117 GB, free: 29.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/1.193, allocations: 32.42 kB / 1.117 GB, free: 29.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/1.193, allocations: 85.45 kB / 1.118 GB, free: 29.65 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/1.193, allocations: 36.31 kB / 1.118 GB, free: 29.65 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.193, allocations: 0 / 1.118 GB, free: 29.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004846/1.194, allocations: 143.5 kB / 1.118 GB, free: 29.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/1.194, allocations: 7.812 kB / 1.118 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/1.194, allocations: 4.938 kB / 1.118 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/1.194, allocations: 7.906 kB / 1.118 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/1.194, allocations: 17.67 kB / 1.118 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/1.194, allocations: 3.875 kB / 1.118 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/1.194, allocations: 14.03 kB / 1.118 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/1.194, allocations: 3.844 kB / 1.118 GB, free: 29.59 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.0001246/1.194, allocations: 137.9 kB / 1.118 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/1.194, allocations: 7.906 kB / 1.118 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.005e-05/1.194, allocations: 11.41 kB / 1.118 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/1.194, allocations: 0 / 1.118 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.194, allocations: 4 kB / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/1.194, allocations: 0 / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007119/1.195, allocations: 389.3 kB / 1.118 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.195, allocations: 0 / 1.118 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.902e-05/1.195, allocations: 14.48 kB / 1.118 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/1.195, allocations: 3.938 kB / 1.118 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/1.195, allocations: 6.672 kB / 1.118 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.195, allocations: 0 / 1.118 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.195, allocations: 3.953 kB / 1.118 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004428/1.196, allocations: 208.3 kB / 1.118 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/1.196, allocations: 84.86 kB / 1.119 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/1.196, allocations: 0 / 1.119 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/1.196, allocations: 13.8 kB / 1.119 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/1.196, allocations: 11.03 kB / 1.119 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/1.196, allocations: 7.781 kB / 1.119 GB, free: 28.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.319e-05/1.196, allocations: 94.12 kB / 1.119 GB, free: 28.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.196, allocations: 0 / 1.119 GB, free: 28.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003896/1.197, allocations: 18.31 kB / 1.119 GB, free: 28.82 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.0002064/1.197, allocations: 113.3 kB / 1.119 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004278/1.197, allocations: 87.64 kB / 1.119 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.197, allocations: 0 / 1.119 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/1.197, allocations: 54.69 kB / 1.119 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/1.198, allocations: 8.781 kB / 1.119 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004449/1.198, allocations: 161.8 kB / 1.119 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/1.198, allocations: 0.6979 MB / 1.12 GB, free: 27.87 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.521e-05/1.199, allocations: 6.297 kB / 1.12 GB, free: 27.87 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/1.199, allocations: 11.34 kB / 1.12 GB, free: 27.86 MB / 0.698 GB Notification: Performance of SimCode: time 8.31e-07/1.199, allocations: 0 / 1.12 GB, free: 27.86 MB / 0.698 GB Notification: Performance of Templates: time 0.004192/1.203, allocations: 0.8333 MB / 1.121 GB, free: 27.81 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)