Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.682/1.682, allocations: 293 MB / 309 MB, free: 4.805 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.0012/0.0012, allocations: 168.6 kB / 378.7 MB, free: 1.027 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.4 MB / 0.6383 GB, free: 8.148 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007885/0.0007882, allocations: 91.7 kB / 0.7527 GB, free: 62.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003824/0.0003824, allocations: 12 kB / 0.8768 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2917, allocations: 116.4 MB / 0.9905 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7529/1.045, allocations: 139.1 MB / 1.126 GB, free: 34.71 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/1.045, allocations: 70.41 kB / 1.126 GB, free: 34.66 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006281/1.051, allocations: 2.513 MB / 1.129 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.216e-06/1.051, allocations: 3.938 kB / 1.129 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.748e-06/1.051, allocations: 4 kB / 1.129 GB, free: 32.81 MB / 0.7292 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.0004321/1.052, allocations: 384.3 kB / 1.129 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/1.052, allocations: 8.031 kB / 1.129 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/1.052, allocations: 9.406 kB / 1.129 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.088e-05/1.052, allocations: 171.7 kB / 1.129 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/1.052, allocations: 384 / 1.129 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/1.052, allocations: 4.375 kB / 1.129 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/1.052, allocations: 76.75 kB / 1.129 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/1.052, allocations: 5.125 kB / 1.129 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/1.052, allocations: 7.938 kB / 1.129 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/1.052, allocations: 0 / 1.129 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/1.052, allocations: 50.64 kB / 1.129 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/1.053, allocations: 321.5 kB / 1.13 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/1.053, allocations: 61.69 kB / 1.13 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.613e-05/1.053, allocations: 35.97 kB / 1.13 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/1.053, allocations: 8.641 kB / 1.13 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/1.053, allocations: 78.11 kB / 1.13 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/1.053, allocations: 0 / 1.13 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003725/1.054, allocations: 148 kB / 1.13 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/1.054, allocations: 59.02 kB / 1.13 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.457e-05/1.054, allocations: 117.4 kB / 1.13 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/1.054, allocations: 29.7 kB / 1.13 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/1.054, allocations: 96.31 kB / 1.13 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/1.054, allocations: 19.8 kB / 1.13 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/1.054, allocations: 0 / 1.13 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.669e-05/1.054, allocations: 322.2 kB / 1.131 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-05/1.054, allocations: 34.98 kB / 1.131 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.89e-05/1.054, allocations: 77.92 kB / 1.131 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/1.054, allocations: 124.6 kB / 1.131 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/1.054, allocations: 0.5625 kB / 1.131 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002458/1.055, allocations: 141.4 kB / 1.131 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.055, allocations: 8.219 kB / 1.131 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.055, allocations: 3.609 kB / 1.131 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/1.055, allocations: 4 kB / 1.131 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/1.055, allocations: 23.45 kB / 1.131 GB, free: 30.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/1.055, allocations: 1.438 kB / 1.131 GB, free: 30.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.63e-05/1.055, allocations: 19.69 kB / 1.131 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/1.055, allocations: 4 kB / 1.131 GB, free: 30.33 MB / 0.7292 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 8.195e-05/1.055, allocations: 133.7 kB / 1.131 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/1.055, allocations: 7.906 kB / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.29e-05/1.055, allocations: 11.61 kB / 1.131 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/1.055, allocations: 0 / 1.131 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/1.055, allocations: 1.5 kB / 1.131 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.055, allocations: 3.938 kB / 1.131 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003729/1.056, allocations: 380.8 kB / 1.132 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/1.056, allocations: 0.5 kB / 1.132 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.925e-05/1.056, allocations: 11.38 kB / 1.132 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/1.056, allocations: 4 kB / 1.132 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/1.056, allocations: 7.938 kB / 1.132 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/1.056, allocations: 0.5 kB / 1.132 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.056, allocations: 7.938 kB / 1.132 GB, free: 29.74 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/1.056, allocations: 209.8 kB / 1.132 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/1.056, allocations: 81.58 kB / 1.132 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/1.056, allocations: 8.625 kB / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.455e-05/1.056, allocations: 7.516 kB / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/1.056, allocations: 16.06 kB / 1.132 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/1.056, allocations: 0 / 1.132 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.184e-05/1.056, allocations: 91.2 kB / 1.132 GB, free: 29.33 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.056, allocations: 4.656 kB / 1.132 GB, free: 29.33 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002367/1.056, allocations: 16 kB / 1.132 GB, free: 29.31 MB / 0.7292 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.0001892/1.057, allocations: 129.2 kB / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002502/1.057, allocations: 84.97 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/1.057, allocations: 0 / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/1.057, allocations: 48.22 kB / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/1.057, allocations: 10.95 kB / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/1.058, allocations: 172.7 kB / 1.133 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/1.058, allocations: 0.691 MB / 1.133 GB, free: 28.17 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.63e-05/1.058, allocations: 5.781 kB / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/1.058, allocations: 11.44 kB / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/1.058, allocations: 0 / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of Templates: time 0.00302/1.061, allocations: 0.8526 MB / 1.134 GB, free: 27.68 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)