Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 289.7 MB / 302.2 MB, free: 2.207 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.001181/0.001181, allocations: 176.3 kB / 371.6 MB, free: 3.387 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.687/1.687, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0008208/0.0008209, allocations: 89.75 kB / 0.745 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.392e-05/3.394e-05, allocations: 4 kB / 0.8663 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2538, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6946/0.9485, allocations: 138.9 MB / 1.115 GB, free: 44.73 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.9488, allocations: 73.66 kB / 1.116 GB, free: 44.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0059/0.9547, allocations: 2.491 MB / 1.118 GB, free: 43.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9547, allocations: 1.938 kB / 1.118 GB, free: 43.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.9547, allocations: 4 kB / 1.118 GB, free: 43.25 MB / 0.7448 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.0003756/0.9551, allocations: 362.3 kB / 1.118 GB, free: 42.87 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.9552, allocations: 12.03 kB / 1.118 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.9552, allocations: 7.062 kB / 1.118 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.365e-05/0.9553, allocations: 172.4 kB / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.9553, allocations: 9.094 kB / 1.119 GB, free: 42.64 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.853e-05/0.9553, allocations: 11.2 kB / 1.119 GB, free: 42.64 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.9555, allocations: 52.88 kB / 1.119 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.9555, allocations: 4 kB / 1.119 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.9555, allocations: 4.547 kB / 1.119 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.9555, allocations: 0 / 1.119 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.856e-05/0.9556, allocations: 18.94 kB / 1.119 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.956, allocations: 311.7 kB / 1.119 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.017e-05/0.9562, allocations: 49.67 kB / 1.119 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.122e-05/0.9562, allocations: 20.73 kB / 1.119 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.9562, allocations: 1.547 kB / 1.119 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.99e-05/0.9563, allocations: 66.56 kB / 1.119 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.9563, allocations: 0 / 1.119 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001786/0.9565, allocations: 87.41 kB / 1.119 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.9566, allocations: 55.41 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.212e-05/0.9566, allocations: 118 kB / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.9567, allocations: 25.7 kB / 1.119 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.9567, allocations: 91.77 kB / 1.119 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.9567, allocations: 15.17 kB / 1.119 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.9567, allocations: 4.375 kB / 1.119 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.015e-05/0.9568, allocations: 318.4 kB / 1.12 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.772e-05/0.9569, allocations: 19.62 kB / 1.12 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.311e-05/0.9569, allocations: 62.25 kB / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.886e-05/0.957, allocations: 23.12 kB / 1.12 GB, free: 41.35 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.957, allocations: 4 kB / 1.12 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001468/0.9571, allocations: 104.6 kB / 1.12 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.9572, allocations: 7.469 kB / 1.12 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.9572, allocations: 4 kB / 1.12 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.9572, allocations: 0.625 kB / 1.12 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.9573, allocations: 27.2 kB / 1.12 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.9573, allocations: 4.219 kB / 1.12 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.051e-05/0.9574, allocations: 15.28 kB / 1.12 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.9575, allocations: 12.61 kB / 1.12 GB, free: 41.2 MB / 0.7448 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 5.158e-05/0.9575, allocations: 108.9 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.9575, allocations: 8.141 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.9576, allocations: 12.12 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.9576, allocations: 3.938 kB / 1.12 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.9576, allocations: 0 / 1.12 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.9576, allocations: 4.656 kB / 1.12 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.9578, allocations: 352.8 kB / 1.12 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.9579, allocations: 0.5625 kB / 1.12 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.001e-05/0.9579, allocations: 15.45 kB / 1.12 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.9579, allocations: 0 / 1.12 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.9579, allocations: 1.062 kB / 1.12 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.958, allocations: 0 / 1.12 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.958, allocations: 7.953 kB / 1.12 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.9581, allocations: 177.7 kB / 1.121 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.15e-05/0.9581, allocations: 77.11 kB / 1.121 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.9581, allocations: 8.516 kB / 1.121 GB, free: 40.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.405e-05/0.9582, allocations: 7.469 kB / 1.121 GB, free: 40.44 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.9583, allocations: 7.328 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.9583, allocations: 4.578 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.278e-05/0.9583, allocations: 100 kB / 1.121 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9583, allocations: 1.125 kB / 1.121 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002271/0.9586, allocations: 27.88 kB / 1.121 GB, free: 40.32 MB / 0.7448 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.0001448/0.9587, allocations: 116.2 kB / 1.121 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.9588, allocations: 48.34 kB / 1.121 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9588, allocations: 448 / 1.121 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.077e-05/0.9589, allocations: 31.44 kB / 1.121 GB, free: 40.14 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.9591, allocations: 9.156 kB / 1.121 GB, free: 40.14 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002109/0.9593, allocations: 104.1 kB / 1.121 GB, free: 40.03 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.595e-05/0.9594, allocations: 0.6956 MB / 1.122 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.055e-05/0.9594, allocations: 4 kB / 1.122 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.9595, allocations: 15.44 kB / 1.122 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of SimCode: time 3.3e-07/0.9595, allocations: 0 / 1.122 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of Templates: time 0.002623/0.9621, allocations: 0.8375 MB / 1.123 GB, free: 38.84 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1)