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.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.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.4-maint.8.1.x/package.mo): time 1.563/1.563, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.001427/0.001426, allocations: 176.8 kB / 366.7 MB, free: 1.645 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.685/1.685, allocations: 205.2 MB / 0.626 GB, free: 7.195 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.0009274/0.0009275, allocations: 79.02 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.839e-05/1.862e-05, allocations: 4 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6851/0.6852, allocations: 116.3 MB / 0.9733 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1995/0.8847, allocations: 138.2 MB / 1.108 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.885, allocations: 71.95 kB / 1.108 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006819/0.8919, allocations: 2.484 MB / 1.111 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8919, allocations: 1 kB / 1.111 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.8919, allocations: 0 / 1.111 GB, free: 9.438 MB / 0.7136 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.0005185/0.8925, allocations: 372 kB / 1.111 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.8925, allocations: 8.844 kB / 1.111 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/0.8926, allocations: 7.906 kB / 1.111 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.8927, allocations: 175.7 kB / 1.111 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.8928, allocations: 0 / 1.111 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.8928, allocations: 5.156 kB / 1.111 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.786e-05/0.8929, allocations: 16 kB / 1.111 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.923e-05/0.893, allocations: 53.62 kB / 1.111 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.893, allocations: 0.7812 kB / 1.111 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.893, allocations: 0 / 1.111 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.8931, allocations: 0.5938 kB / 1.111 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.8936, allocations: 287.5 kB / 1.112 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.425e-05/0.8937, allocations: 51.61 kB / 1.112 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.578e-05/0.8938, allocations: 16.98 kB / 1.112 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.8938, allocations: 1.281 kB / 1.112 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001165/0.8939, allocations: 62.84 kB / 1.112 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.8939, allocations: 0 / 1.112 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002221/0.8942, allocations: 74.81 kB / 1.112 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.8942, allocations: 59.39 kB / 1.112 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.107e-05/0.8943, allocations: 114.8 kB / 1.112 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.8944, allocations: 29.64 kB / 1.112 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.216e-05/0.8944, allocations: 96.03 kB / 1.112 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.8945, allocations: 11.84 kB / 1.112 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.8945, allocations: 7.562 kB / 1.112 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.8946, allocations: 322.8 kB / 1.112 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.658e-05/0.8946, allocations: 12 kB / 1.112 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.383e-05/0.8947, allocations: 54.02 kB / 1.113 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.895, allocations: 50.58 kB / 1.113 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.895, allocations: 0 / 1.113 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003263/0.8954, allocations: 120.2 kB / 1.113 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.8954, allocations: 6.062 kB / 1.113 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.8954, allocations: 4 kB / 1.113 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.8954, allocations: 4.219 kB / 1.113 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.8956, allocations: 27.91 kB / 1.113 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.8956, allocations: 6.969 kB / 1.113 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.731e-05/0.8957, allocations: 7.906 kB / 1.113 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.8957, allocations: 8 kB / 1.113 GB, free: 7.219 MB / 0.7136 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 8.182e-05/0.8958, allocations: 112.9 kB / 1.113 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.8958, allocations: 4 kB / 1.113 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.8959, allocations: 8.625 kB / 1.113 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.8959, allocations: 7.938 kB / 1.113 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8959, allocations: 0 / 1.113 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.8959, allocations: 0 / 1.113 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/0.8962, allocations: 322.9 kB / 1.113 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.8962, allocations: 0 / 1.113 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.108e-05/0.8963, allocations: 11.98 kB / 1.113 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.8963, allocations: 11.98 kB / 1.113 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.8963, allocations: 0 / 1.113 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.8963, allocations: 0 / 1.113 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.8963, allocations: 3.938 kB / 1.113 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.8965, allocations: 179.4 kB / 1.113 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.8966, allocations: 77.11 kB / 1.113 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.8966, allocations: 1.781 kB / 1.113 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.46e-05/0.8967, allocations: 15.98 kB / 1.113 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.8967, allocations: 4 kB / 1.113 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.8967, allocations: 0 / 1.113 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.098e-05/0.8968, allocations: 91.27 kB / 1.114 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8968, allocations: 0 / 1.114 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002541/0.8971, allocations: 27.84 kB / 1.114 GB, free: 6.273 MB / 0.7136 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.0001861/0.8973, allocations: 112 kB / 1.114 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001382/0.8974, allocations: 48.06 kB / 1.114 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.8974, allocations: 7.938 kB / 1.114 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.999e-05/0.8975, allocations: 19.98 kB / 1.114 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.8977, allocations: 11.94 kB / 1.114 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003286/0.898, allocations: 100.4 kB / 1.114 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.8983, allocations: 0.6927 MB / 1.115 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.817e-05/0.8984, allocations: 13.03 kB / 1.115 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.8984, allocations: 11.44 kB / 1.115 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.8984, allocations: 0 / 1.115 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of Templates: time 0.003321/0.9017, allocations: 0.7892 MB / 1.115 GB, free: 4.461 MB / 0.7136 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)