Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.584/1.584, allocations: 297.8 MB / 313.7 MB, free: 128 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.0009182/0.0009183, allocations: 180.5 kB / 384.6 MB, free: 10.86 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.367/1.367, allocations: 223.2 MB / 0.6626 GB, free: 4.344 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.0007523/0.0007524, allocations: 91.91 kB / 0.7808 GB, free: 50.37 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003854, allocations: 16 kB / 0.9088 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5924/0.5928, allocations: 120.3 MB / 1.026 GB, free: 55.89 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1706/0.7635, allocations: 141.2 MB / 1.164 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.7638, allocations: 73.08 kB / 1.164 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.009229/0.773, allocations: 2.517 MB / 1.167 GB, free: 396 kB / 0.7292 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7731, allocations: 0 / 1.167 GB, free: 396 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.7731, allocations: 0 / 1.167 GB, free: 396 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.0005208/0.7736, allocations: 382.2 kB / 1.167 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.165e-05/0.7737, allocations: 12.53 kB / 1.167 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.7738, allocations: 10.44 kB / 1.167 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.7739, allocations: 171 kB / 1.167 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.774, allocations: 8.094 kB / 1.167 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.774, allocations: 5.406 kB / 1.167 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.7743, allocations: 72.81 kB / 1.167 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.7743, allocations: 192 / 1.167 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.7743, allocations: 4.734 kB / 1.167 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.7743, allocations: 2.406 kB / 1.167 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/0.7746, allocations: 61.28 kB / 1.167 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007219/0.7753, allocations: 317.8 kB / 1.168 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.7755, allocations: 63.47 kB / 1.168 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.7757, allocations: 36.61 kB / 1.168 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.7757, allocations: 0.7969 kB / 1.168 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002691/0.776, allocations: 80.42 kB / 1.168 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.635e-06/0.776, allocations: 1.953 kB / 1.168 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0005705/0.7766, allocations: 149.5 kB / 1.168 GB, free: 15 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.7767, allocations: 55.97 kB / 1.168 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.7768, allocations: 122.3 kB / 1.168 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.7769, allocations: 30.45 kB / 1.168 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.7769, allocations: 94.28 kB / 1.168 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.777, allocations: 13.98 kB / 1.168 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.777, allocations: 0 / 1.168 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.7771, allocations: 325.7 kB / 1.169 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.7773, allocations: 32.64 kB / 1.169 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.7775, allocations: 86.59 kB / 1.169 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003769/0.7779, allocations: 121.5 kB / 1.169 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.7779, allocations: 1.406 kB / 1.169 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000394/0.7783, allocations: 137.9 kB / 1.169 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.7783, allocations: 8 kB / 1.169 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.7783, allocations: 2.453 kB / 1.169 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.7784, allocations: 4 kB / 1.169 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.7785, allocations: 23.81 kB / 1.169 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.7785, allocations: 5.766 kB / 1.169 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.7787, allocations: 18.06 kB / 1.169 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.7787, allocations: 4.609 kB / 1.169 GB, free: 13.93 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.844e-05/0.7788, allocations: 123.4 kB / 1.169 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.7788, allocations: 5.844 kB / 1.169 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/0.7789, allocations: 15.42 kB / 1.169 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.7789, allocations: 0 / 1.169 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7789, allocations: 0 / 1.169 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.7789, allocations: 0.7031 kB / 1.169 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005268/0.7794, allocations: 391.3 kB / 1.17 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.7795, allocations: 3.984 kB / 1.17 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.877e-05/0.7795, allocations: 10.81 kB / 1.17 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.7795, allocations: 0.7969 kB / 1.17 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.7796, allocations: 4 kB / 1.17 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.7796, allocations: 8.562 kB / 1.17 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.7796, allocations: 3.938 kB / 1.17 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.7799, allocations: 206.4 kB / 1.17 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.78, allocations: 85.91 kB / 1.17 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.78, allocations: 0.8125 kB / 1.17 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.7801, allocations: 10.81 kB / 1.17 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.7801, allocations: 10.7 kB / 1.17 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.7802, allocations: 4 kB / 1.17 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.759e-05/0.7802, allocations: 95.75 kB / 1.17 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7802, allocations: 2.531 kB / 1.17 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002999/0.7805, allocations: 25.08 kB / 1.17 GB, free: 12.93 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.0001714/0.7807, allocations: 122.2 kB / 1.17 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003102/0.781, allocations: 90.92 kB / 1.17 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7811, allocations: 448 / 1.17 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.7812, allocations: 42.09 kB / 1.17 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.7815, allocations: 10.11 kB / 1.17 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003819/0.7819, allocations: 172.5 kB / 1.17 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.7821, allocations: 0.6888 MB / 1.171 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.138e-05/0.7822, allocations: 5.359 kB / 1.171 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.7822, allocations: 12.05 kB / 1.171 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of SimCode: time 3.6e-07/0.7822, allocations: 0 / 1.171 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of Templates: time 0.003582/0.7858, allocations: 0.8477 MB / 1.172 GB, free: 11.3 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)