Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.612/1.612, allocations: 297.8 MB / 313.7 MB, free: 68 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.001008/0.001008, allocations: 183.4 kB / 384.6 MB, free: 10.79 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.315/1.315, allocations: 223.2 MB / 0.6626 GB, free: 4.219 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.0008022/0.0008022, allocations: 97.44 kB / 0.7808 GB, free: 50.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003752, allocations: 12.5 kB / 0.9088 GB, free: 2.828 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6928/0.6932, allocations: 120.3 MB / 1.026 GB, free: 55.79 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1698/0.863, allocations: 141.2 MB / 1.164 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.8633, allocations: 73.17 kB / 1.164 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006069/0.8694, allocations: 2.501 MB / 1.167 GB, free: 348 kB / 0.7292 GB Notification: Performance of FrontEnd: time 2.986e-06/0.8694, allocations: 1.031 kB / 1.167 GB, free: 348 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.8694, allocations: 7.938 kB / 1.167 GB, free: 340 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.0004022/0.8698, allocations: 385.1 kB / 1.167 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.8699, allocations: 8.906 kB / 1.167 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.8699, allocations: 5.5 kB / 1.167 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.87, allocations: 170.4 kB / 1.167 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.87, allocations: 5.969 kB / 1.167 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.8701, allocations: 5.281 kB / 1.167 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.8703, allocations: 71.92 kB / 1.167 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.8703, allocations: 5.469 kB / 1.167 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.8703, allocations: 11.94 kB / 1.167 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.8703, allocations: 0 / 1.167 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.8705, allocations: 51.38 kB / 1.167 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.871, allocations: 316 kB / 1.168 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.8712, allocations: 68.5 kB / 1.168 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.548e-05/0.8713, allocations: 32.61 kB / 1.168 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.8713, allocations: 5.312 kB / 1.168 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.8715, allocations: 81.36 kB / 1.168 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.8715, allocations: 1.375 kB / 1.168 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003906/0.8719, allocations: 153 kB / 1.168 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.872, allocations: 52.02 kB / 1.168 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.726e-05/0.8721, allocations: 121.1 kB / 1.168 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.8721, allocations: 30.36 kB / 1.168 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.8722, allocations: 95.36 kB / 1.168 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.8722, allocations: 14.69 kB / 1.168 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.8722, allocations: 0 / 1.168 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.8723, allocations: 320.9 kB / 1.169 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.8724, allocations: 33.19 kB / 1.169 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.8726, allocations: 86.64 kB / 1.169 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.8728, allocations: 119.4 kB / 1.169 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8728, allocations: 0 / 1.169 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003231/0.8732, allocations: 144.8 kB / 1.169 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.8732, allocations: 4.703 kB / 1.169 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.8732, allocations: 4.906 kB / 1.169 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.8732, allocations: 0 / 1.169 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.8733, allocations: 25.83 kB / 1.169 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.8734, allocations: 3.156 kB / 1.169 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.98e-05/0.8734, allocations: 16.83 kB / 1.169 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.8735, allocations: 13.36 kB / 1.169 GB, free: 13.88 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.841e-05/0.8736, allocations: 124.2 kB / 1.169 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.8736, allocations: 9 kB / 1.169 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.8736, allocations: 9.641 kB / 1.169 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.8736, allocations: 0 / 1.169 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.8736, allocations: 0 / 1.169 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.8736, allocations: 0.7969 kB / 1.169 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/0.8741, allocations: 390.5 kB / 1.17 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.8741, allocations: 0 / 1.17 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.355e-05/0.8742, allocations: 11.84 kB / 1.17 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.8742, allocations: 5 kB / 1.17 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.8742, allocations: 0.5625 kB / 1.17 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.8742, allocations: 3.938 kB / 1.17 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.8742, allocations: 4.641 kB / 1.17 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.8745, allocations: 219.4 kB / 1.17 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.516e-05/0.8746, allocations: 77.11 kB / 1.17 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.8746, allocations: 5.266 kB / 1.17 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.025e-05/0.8747, allocations: 11.14 kB / 1.17 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.8747, allocations: 11.55 kB / 1.17 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.8747, allocations: 1.031 kB / 1.17 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.125e-05/0.8748, allocations: 103.8 kB / 1.17 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8748, allocations: 0 / 1.17 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002364/0.875, allocations: 20.56 kB / 1.17 GB, free: 12.87 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.0001578/0.8752, allocations: 114.7 kB / 1.17 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002685/0.8755, allocations: 94.88 kB / 1.17 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.8755, allocations: 0 / 1.17 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.8756, allocations: 42.81 kB / 1.17 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.8759, allocations: 13.3 kB / 1.17 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.8762, allocations: 160.7 kB / 1.17 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.8765, allocations: 0.6959 MB / 1.171 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.373e-05/0.8765, allocations: 9.719 kB / 1.171 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.8766, allocations: 12.28 kB / 1.171 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.8766, allocations: 0 / 1.171 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of Templates: time 0.003336/0.8799, allocations: 0.8427 MB / 1.172 GB, free: 11.25 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)