Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.597/1.597, allocations: 297.8 MB / 313.7 MB, free: 144 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 179.4 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.2 MB / 0.6626 GB, free: 4.293 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008121/0.0008122, allocations: 96.48 kB / 0.7808 GB, free: 50.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004206/0.0004208, allocations: 12 kB / 0.9088 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6844/0.6848, allocations: 120.3 MB / 1.026 GB, free: 55.86 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.168/0.8528, allocations: 141.2 MB / 1.164 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.8531, allocations: 71.95 kB / 1.164 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006394/0.8595, allocations: 2.517 MB / 1.167 GB, free: 384 kB / 0.7292 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8595, allocations: 0 / 1.167 GB, free: 384 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.8596, allocations: 1.844 kB / 1.167 GB, free: 384 kB / 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.0004441/0.86, allocations: 386.6 kB / 1.167 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.8601, allocations: 12.03 kB / 1.167 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.8601, allocations: 6.469 kB / 1.167 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.8602, allocations: 170.8 kB / 1.167 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.8603, allocations: 4.375 kB / 1.167 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.8603, allocations: 9.172 kB / 1.167 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.8605, allocations: 70.91 kB / 1.167 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.8605, allocations: 1.125 kB / 1.167 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.8606, allocations: 3.938 kB / 1.167 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.8606, allocations: 5.328 kB / 1.167 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.8608, allocations: 57.64 kB / 1.167 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006367/0.8614, allocations: 316.8 kB / 1.168 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.8616, allocations: 60.67 kB / 1.168 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.8617, allocations: 40.62 kB / 1.168 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.8617, allocations: 0 / 1.168 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002247/0.862, allocations: 85.59 kB / 1.168 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.862, allocations: 1.625 kB / 1.168 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004055/0.8624, allocations: 150.2 kB / 1.168 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.8625, allocations: 56.11 kB / 1.168 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.585e-05/0.8626, allocations: 121.2 kB / 1.168 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.8626, allocations: 26.27 kB / 1.168 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.8627, allocations: 98.62 kB / 1.168 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.8627, allocations: 9.25 kB / 1.168 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-06/0.8627, allocations: 4.875 kB / 1.168 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.8628, allocations: 321.9 kB / 1.169 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.8629, allocations: 36.3 kB / 1.169 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.8631, allocations: 80.67 kB / 1.169 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.8633, allocations: 123.6 kB / 1.169 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8633, allocations: 0.6094 kB / 1.169 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003089/0.8637, allocations: 139.5 kB / 1.169 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.8637, allocations: 8 kB / 1.169 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.8637, allocations: 0.7031 kB / 1.169 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.8637, allocations: 4 kB / 1.169 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.8638, allocations: 26.25 kB / 1.169 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.8639, allocations: 5.312 kB / 1.169 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.455e-05/0.864, allocations: 17.73 kB / 1.169 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.864, allocations: 5.406 kB / 1.169 GB, free: 13.92 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 () * 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 9.897e-05/0.8641, allocations: 127.9 kB / 1.169 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.8641, allocations: 4 kB / 1.169 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.8641, allocations: 9.734 kB / 1.169 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.8642, allocations: 0.7031 kB / 1.169 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8642, allocations: 1.125 kB / 1.169 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.8642, allocations: 0.9688 kB / 1.169 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.8647, allocations: 393.8 kB / 1.17 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.8647, allocations: 1.75 kB / 1.17 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.872e-05/0.8648, allocations: 15.05 kB / 1.17 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.8648, allocations: 0 / 1.17 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.8648, allocations: 4.516 kB / 1.17 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8648, allocations: 0 / 1.17 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.8648, allocations: 4.547 kB / 1.17 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.8651, allocations: 210 kB / 1.17 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.8651, allocations: 83.83 kB / 1.17 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.8652, allocations: 1.547 kB / 1.17 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.747e-05/0.8653, allocations: 15.89 kB / 1.17 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.8653, allocations: 10 kB / 1.17 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.8653, allocations: 0.7031 kB / 1.17 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.454e-05/0.8654, allocations: 96.25 kB / 1.17 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8654, allocations: 4 kB / 1.17 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002655/0.8657, allocations: 28.42 kB / 1.17 GB, free: 12.91 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 () * 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.0001661/0.8658, allocations: 114.4 kB / 1.17 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002714/0.8661, allocations: 91.23 kB / 1.17 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.8661, allocations: 4 kB / 1.17 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.8662, allocations: 38.23 kB / 1.17 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.8665, allocations: 7.453 kB / 1.17 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003684/0.8669, allocations: 173.4 kB / 1.17 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.8672, allocations: 0.6878 MB / 1.171 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.691e-05/0.8672, allocations: 9.406 kB / 1.171 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.538e-05/0.8673, allocations: 8.656 kB / 1.171 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.8673, allocations: 8 kB / 1.171 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of Templates: time 0.003228/0.8705, allocations: 0.8444 MB / 1.172 GB, free: 11.29 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1)