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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 101.9 kB / 16.35 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 194 kB / 17.29 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.925/1.925, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 79.17 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2342, allocations: 114.5 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002455/0.2367, allocations: 0.7629 MB / 0.7855 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.2382, allocations: 1.067 MB / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.532e-05/0.2383, allocations: 0 / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.626e-05/0.2383, allocations: 7.922 kB / 0.7866 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.018e-05/0.2384, allocations: 11.88 kB / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.2388, allocations: 51.83 kB / 0.7867 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.239, allocations: 71.77 kB / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.2391, allocations: 24.17 kB / 0.7867 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.389e-05/0.2392, allocations: 27.92 kB / 0.7868 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.589e-05/0.2393, allocations: 31.84 kB / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.2393, allocations: 8 kB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.931e-05/0.2394, allocations: 23.92 kB / 0.7868 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.515e-05/0.2394, allocations: 15.91 kB / 0.7868 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.877e-05/0.2395, allocations: 35.8 kB / 0.7869 GB, free: 1 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.2396, allocations: 75.75 kB / 0.787 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.2396, allocations: 4 kB / 0.787 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2396, allocations: 0 / 0.787 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.2397, allocations: 0 / 0.787 GB, free: 0.9219 MB / 0.6544 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.0006266/0.2403, allocations: 383.2 kB / 0.7873 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.2403, allocations: 8.031 kB / 0.7873 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.2404, allocations: 8.844 kB / 0.7873 GB, free: 496 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.2405, allocations: 180.2 kB / 0.7875 GB, free: 276 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.2406, allocations: 384 / 0.7875 GB, free: 276 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.2406, allocations: 12.31 kB / 0.7875 GB, free: 264 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.2408, allocations: 70.22 kB / 0.7876 GB, free: 188 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2408, allocations: 3.938 kB / 0.7876 GB, free: 184 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.2408, allocations: 4 kB / 0.7876 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.2409, allocations: 0 / 0.7876 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.241, allocations: 43.95 kB / 0.7876 GB, free: 136 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5003/0.7414, allocations: 318 kB / 0.7879 GB, free: 49.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.7416, allocations: 55.53 kB / 0.788 GB, free: 49.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.833e-05/0.7417, allocations: 39.75 kB / 0.788 GB, free: 49.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.7417, allocations: 2.75 kB / 0.788 GB, free: 49.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002572/0.742, allocations: 79.81 kB / 0.7881 GB, free: 49.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 3.517e-06/0.742, allocations: 0 / 0.7881 GB, free: 49.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0004477/0.7425, allocations: 129.7 kB / 0.7882 GB, free: 49.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.7425, allocations: 54.64 kB / 0.7883 GB, free: 49.26 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.032e-05/0.7426, allocations: 118.1 kB / 0.7884 GB, free: 49.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.7426, allocations: 36.47 kB / 0.7884 GB, free: 49.13 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.808e-05/0.7427, allocations: 90.31 kB / 0.7885 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.7427, allocations: 15.16 kB / 0.7885 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-05/0.7428, allocations: 34.05 kB / 0.7886 GB, free: 49.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.794e-05/0.7429, allocations: 316.9 kB / 0.7889 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.743, allocations: 30.94 kB / 0.7889 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.7431, allocations: 75.2 kB / 0.789 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.7434, allocations: 115.8 kB / 0.7891 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7434, allocations: 0 / 0.7891 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002868/0.7437, allocations: 139.2 kB / 0.7892 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.7437, allocations: 9.062 kB / 0.7892 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.7437, allocations: 0.5625 kB / 0.7892 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/0.7437, allocations: 2.906 kB / 0.7892 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.7439, allocations: 17.41 kB / 0.7892 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.7439, allocations: 10.47 kB / 0.7893 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.234e-05/0.744, allocations: 8.406 kB / 0.7893 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.744, allocations: 6.609 kB / 0.7893 GB, free: 48.57 MB / 0.6544 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 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.809e-05/0.7441, allocations: 120.8 kB / 0.7894 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.7441, allocations: 8.688 kB / 0.7894 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.582e-05/0.7442, allocations: 11.38 kB / 0.7894 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.7442, allocations: 0.5 kB / 0.7894 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.7442, allocations: 5.031 kB / 0.7894 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.7442, allocations: 3.375 kB / 0.7894 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004198/0.7446, allocations: 375 kB / 0.7898 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.7446, allocations: 0.75 kB / 0.7898 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.213e-05/0.7447, allocations: 8.969 kB / 0.7898 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.7447, allocations: 3.969 kB / 0.7898 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.7447, allocations: 0 / 0.7898 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.7447, allocations: 0 / 0.7898 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.7447, allocations: 0 / 0.7898 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.745, allocations: 211 kB / 0.79 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.745, allocations: 84.62 kB / 0.7901 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.7451, allocations: 6.656 kB / 0.7901 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.138e-05/0.7451, allocations: 6.547 kB / 0.7901 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.7452, allocations: 6.109 kB / 0.7901 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.7452, allocations: 7.047 kB / 0.7901 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.275e-05/0.7453, allocations: 99.11 kB / 0.7902 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7453, allocations: 0.9375 kB / 0.7902 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002734/0.7456, allocations: 16.25 kB / 0.7902 GB, free: 47.84 MB / 0.6544 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 (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.0001865/0.7457, allocations: 108.2 kB / 0.7903 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000304/0.7461, allocations: 82.45 kB / 0.7904 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.7461, allocations: 0 / 0.7904 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.7462, allocations: 36.83 kB / 0.7904 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.7465, allocations: 11.62 kB / 0.7904 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004234/0.747, allocations: 154.7 kB / 0.7906 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.7472, allocations: 0.6902 MB / 0.7912 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.908e-05/0.7472, allocations: 7.484 kB / 0.7913 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.7472, allocations: 12.62 kB / 0.7913 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of SimCode: time 9.72e-07/0.7472, allocations: 0 / 0.7913 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of Templates: time 0.004008/0.7513, allocations: 0.9693 MB / 0.7922 GB, free: 46.92 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)