Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.419/1.419, allocations: 252 MB / 268 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001393/0.001394, allocations: 186.2 kB / 327.6 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.4 MB / 0.5786 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008657/0.0008658, allocations: 78.41 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003372, allocations: 12.38 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2304, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001633/0.232, allocations: 1.129 MB / 0.9026 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004019/0.2325, allocations: 188.3 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.66e-05/0.2325, allocations: 0 / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.341e-05/0.2326, allocations: 7.984 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.987e-05/0.2327, allocations: 3.938 kB / 0.9028 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.2329, allocations: 7.984 kB / 0.9028 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.32e-05/0.233, allocations: 43.8 kB / 0.9028 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.2331, allocations: 7.984 kB / 0.9028 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.333e-05/0.2332, allocations: 8 kB / 0.9028 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.222e-05/0.2332, allocations: 15.92 kB / 0.9028 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.2332, allocations: 7.938 kB / 0.9029 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.2333, allocations: 0 / 0.9029 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.2333, allocations: 7.938 kB / 0.9029 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.518e-05/0.2333, allocations: 41.62 kB / 0.9029 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.637e-05/0.2334, allocations: 27.94 kB / 0.9029 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2334, allocations: 0 / 0.9029 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2334, allocations: 0 / 0.9029 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.2334, allocations: 0 / 0.9029 GB, free: 61.96 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004622/0.2339, allocations: 355.6 kB / 0.9033 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.234, allocations: 12.02 kB / 0.9033 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.234, allocations: 4.938 kB / 0.9033 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.087e-05/0.2341, allocations: 164.3 kB / 0.9034 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.2341, allocations: 384 / 0.9034 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.2341, allocations: 8.375 kB / 0.9034 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.2344, allocations: 66.17 kB / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.2344, allocations: 192 / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.2344, allocations: 3.938 kB / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2344, allocations: 3.938 kB / 0.9035 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.2346, allocations: 51.95 kB / 0.9036 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.235, allocations: 261 kB / 0.9038 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.2352, allocations: 50.44 kB / 0.9039 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.89e-05/0.2353, allocations: 40.94 kB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.2353, allocations: 0 / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001933/0.2355, allocations: 75.38 kB / 0.904 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.2355, allocations: 0 / 0.904 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003721/0.2359, allocations: 117.6 kB / 0.9041 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.236, allocations: 59.33 kB / 0.9041 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.048e-05/0.236, allocations: 105.8 kB / 0.9042 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.236, allocations: 25.7 kB / 0.9043 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.2361, allocations: 96.12 kB / 0.9044 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.2361, allocations: 7.844 kB / 0.9044 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.2361, allocations: 0 / 0.9044 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.47e-05/0.2362, allocations: 318.8 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-05/0.2363, allocations: 27.97 kB / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.908e-05/0.2364, allocations: 42.56 kB / 0.9047 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.2365, allocations: 82.41 kB / 0.9048 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2365, allocations: 0 / 0.9048 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002231/0.2368, allocations: 89.69 kB / 0.9049 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.2368, allocations: 12 kB / 0.9049 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2368, allocations: 0 / 0.9049 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.2368, allocations: 0 / 0.9049 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.663e-05/0.2369, allocations: 15.98 kB / 0.9049 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2369, allocations: 3.938 kB / 0.9049 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.323e-05/0.237, allocations: 11.91 kB / 0.9049 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.237, allocations: 0 / 0.9049 GB, free: 59.65 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.74e-05/0.2371, allocations: 125.8 kB / 0.9051 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-06/0.2371, allocations: 0 / 0.9051 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.2371, allocations: 11.91 kB / 0.9051 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.2371, allocations: 0 / 0.9051 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2372, allocations: 0 / 0.9051 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2372, allocations: 0 / 0.9051 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.2375, allocations: 346.4 kB / 0.9054 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.2375, allocations: 3.938 kB / 0.9054 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.969e-05/0.2376, allocations: 11.98 kB / 0.9054 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2376, allocations: 0 / 0.9054 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.2376, allocations: 4 kB / 0.9054 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2376, allocations: 0 / 0.9054 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.2376, allocations: 0 / 0.9054 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.2379, allocations: 199.3 kB / 0.9056 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.174e-05/0.2379, allocations: 81.11 kB / 0.9057 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.2379, allocations: 0 / 0.9057 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.85e-05/0.238, allocations: 12 kB / 0.9057 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.2381, allocations: 7.984 kB / 0.9057 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.2381, allocations: 3.938 kB / 0.9057 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.092e-05/0.2381, allocations: 87.27 kB / 0.9058 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2381, allocations: 0 / 0.9058 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002033/0.2383, allocations: 8 kB / 0.9058 GB, free: 58.66 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (samTri.y,$whenCondition1,triggeredSampler.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001047/0.2384, allocations: 99.25 kB / 0.9059 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.2387, allocations: 63.89 kB / 0.906 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2387, allocations: 4 kB / 0.906 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.675e-05/0.2388, allocations: 32.17 kB / 0.906 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.239, allocations: 12.09 kB / 0.906 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003128/0.2394, allocations: 162.3 kB / 0.9062 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.2395, allocations: 0.677 MB / 0.9068 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.2395, allocations: 11.44 kB / 0.9068 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of SimCode: time 7.32e-07/0.2395, allocations: 7.938 kB / 0.9068 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of Templates: time 0.002019/0.2416, allocations: 0.7042 MB / 0.9075 GB, free: 56.84 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)