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.SampleTriggerPositiveStartTime.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.624/2.624, allocations: 287.5 MB / 303.2 MB, free: 8.176 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.001393/0.001392, allocations: 178.9 kB / 371.8 MB, free: 10.82 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.111/2.111, allocations: 205.4 MB / 0.6305 GB, free: 10.6 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.0009458/0.0009455, allocations: 101.9 kB / 0.7438 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004705, allocations: 12.62 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2436, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9239/1.168, allocations: 137.8 MB / 1.114 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/1.168, allocations: 78.22 kB / 1.114 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01101/1.179, allocations: 2.517 MB / 1.116 GB, free: 31.35 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.853e-06/1.179, allocations: 0 / 1.116 GB, free: 31.35 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.426e-06/1.179, allocations: 4 kB / 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.0006315/1.18, allocations: 377.6 kB / 1.117 GB, free: 30.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/1.18, allocations: 11.47 kB / 1.117 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.164e-05/1.18, allocations: 7.719 kB / 1.117 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/1.18, allocations: 167.1 kB / 1.117 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/1.18, allocations: 4.25 kB / 1.117 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/1.18, allocations: 7.562 kB / 1.117 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/1.18, allocations: 75 kB / 1.117 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/1.18, allocations: 192 / 1.117 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/1.18, allocations: 11.03 kB / 1.117 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/1.18, allocations: 0 / 1.117 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002933/1.181, allocations: 60.69 kB / 1.117 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007395/1.181, allocations: 329.1 kB / 1.117 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/1.182, allocations: 60.34 kB / 1.118 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/1.182, allocations: 32.58 kB / 1.118 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/1.182, allocations: 3.906 kB / 1.118 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000288/1.182, allocations: 90.36 kB / 1.118 GB, free: 30.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 3.887e-06/1.182, allocations: 96 / 1.118 GB, free: 30.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.000639/1.183, allocations: 145.8 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/1.183, allocations: 54.84 kB / 1.118 GB, free: 30.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/1.183, allocations: 119.7 kB / 1.118 GB, free: 30.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/1.183, allocations: 28.64 kB / 1.118 GB, free: 30.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/1.183, allocations: 97.61 kB / 1.118 GB, free: 30.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/1.183, allocations: 10.5 kB / 1.118 GB, free: 30.01 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-06/1.183, allocations: 6.656 kB / 1.118 GB, free: 30.01 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.183, allocations: 320.4 kB / 1.118 GB, free: 29.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/1.183, allocations: 36.19 kB / 1.118 GB, free: 29.69 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/1.184, allocations: 81.56 kB / 1.118 GB, free: 29.63 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/1.184, allocations: 117.8 kB / 1.119 GB, free: 29.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/1.184, allocations: 0 / 1.119 GB, free: 29.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004776/1.185, allocations: 139.4 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/1.185, allocations: 3.75 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/1.185, allocations: 3.875 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/1.185, allocations: 3.938 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/1.185, allocations: 21.05 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/1.185, allocations: 3.969 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/1.185, allocations: 22.33 kB / 1.119 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/1.185, allocations: 3.781 kB / 1.119 GB, free: 29.51 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.0001296/1.185, allocations: 136.6 kB / 1.119 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/1.185, allocations: 11.75 kB / 1.119 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/1.185, allocations: 11.22 kB / 1.119 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/1.185, allocations: 0 / 1.119 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.185, allocations: 0 / 1.119 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/1.185, allocations: 0 / 1.119 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000669/1.186, allocations: 387.6 kB / 1.119 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.186, allocations: 0 / 1.119 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-05/1.186, allocations: 14.67 kB / 1.119 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/1.186, allocations: 4 kB / 1.119 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/1.186, allocations: 0 / 1.119 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/1.186, allocations: 0 / 1.119 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.186, allocations: 7.812 kB / 1.119 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004533/1.187, allocations: 211.8 kB / 1.12 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/1.187, allocations: 83.78 kB / 1.12 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/1.187, allocations: 3.844 kB / 1.12 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/1.187, allocations: 10.97 kB / 1.12 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/1.187, allocations: 10.5 kB / 1.12 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/1.187, allocations: 3.25 kB / 1.12 GB, free: 28.82 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.523e-05/1.187, allocations: 99.3 kB / 1.12 GB, free: 28.74 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.187, allocations: 4 kB / 1.12 GB, free: 28.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000675/1.188, allocations: 18.62 kB / 1.12 GB, free: 28.73 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.0001905/1.188, allocations: 116.9 kB / 1.12 GB, free: 28.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004091/1.188, allocations: 89.66 kB / 1.12 GB, free: 28.63 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.188, allocations: 0 / 1.12 GB, free: 28.63 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001775/1.188, allocations: 35.98 kB / 1.12 GB, free: 28.63 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/1.189, allocations: 21.92 kB / 1.12 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/1.189, allocations: 165.3 kB / 1.12 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/1.19, allocations: 0.6933 MB / 1.121 GB, free: 27.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.23e-05/1.19, allocations: 3.844 kB / 1.121 GB, free: 27.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/1.19, allocations: 11.28 kB / 1.121 GB, free: 27.78 MB / 0.698 GB Notification: Performance of SimCode: time 7.32e-07/1.19, allocations: 4 kB / 1.121 GB, free: 27.78 MB / 0.698 GB Notification: Performance of Templates: time 0.004025/1.194, allocations: 0.84 MB / 1.122 GB, free: 27.73 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)