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.00118/0.00118, allocations: 101.8 kB / 16.27 MB, free: 5.969 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.001178/0.001178, allocations: 195.9 kB / 17.2 MB, free: 5.594 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.509/1.509, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.82/1.82, allocations: 292.3 MB / 0.5495 GB, free: 17.53 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.001483/0.001483, allocations: 75.03 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2461, allocations: 114.6 MB / 0.7841 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.00197/0.2481, allocations: 0.7637 MB / 0.7848 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.2494, allocations: 1.063 MB / 0.7858 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.668e-05/0.2495, allocations: 0 / 0.7858 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.2495, allocations: 3.938 kB / 0.7858 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.773e-05/0.2496, allocations: 15.86 kB / 0.7859 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.2499, allocations: 55.83 kB / 0.7859 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.2501, allocations: 71.78 kB / 0.786 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.2502, allocations: 24.16 kB / 0.786 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.304e-05/0.2503, allocations: 27.92 kB / 0.786 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.709e-05/0.2503, allocations: 31.84 kB / 0.7861 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.2503, allocations: 8 kB / 0.7861 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.578e-05/0.2504, allocations: 19.98 kB / 0.7861 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.281e-05/0.2504, allocations: 19.86 kB / 0.7861 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.362e-05/0.2505, allocations: 31.86 kB / 0.7861 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.2506, allocations: 76.02 kB / 0.7862 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2506, allocations: 0 / 0.7862 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2507, allocations: 0 / 0.7862 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.2507, allocations: 0 / 0.7862 GB, free: 1.652 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.0005475/0.2512, allocations: 387.2 kB / 0.7866 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.2513, allocations: 8.031 kB / 0.7866 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.2513, allocations: 8.844 kB / 0.7866 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.2514, allocations: 176.2 kB / 0.7868 GB, free: 1 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.2515, allocations: 4.375 kB / 0.7868 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.2515, allocations: 12.38 kB / 0.7868 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.2517, allocations: 58.23 kB / 0.7868 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2517, allocations: 7.938 kB / 0.7868 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.2517, allocations: 3.984 kB / 0.7869 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2517, allocations: 3.938 kB / 0.7869 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.2519, allocations: 39.97 kB / 0.7869 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006021/0.2525, allocations: 324.8 kB / 0.7872 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.2527, allocations: 58.58 kB / 0.7873 GB, free: 444 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.441e-05/0.2528, allocations: 28.97 kB / 0.7873 GB, free: 412 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.2528, allocations: 4 kB / 0.7873 GB, free: 408 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002225/0.253, allocations: 83.28 kB / 0.7874 GB, free: 312 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.986e-06/0.2531, allocations: 3.984 kB / 0.7874 GB, free: 308 kB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.000403/0.2535, allocations: 125.6 kB / 0.7875 GB, free: 176 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.2535, allocations: 55.41 kB / 0.7875 GB, free: 108 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4331/0.6867, allocations: 130.7 kB / 0.7877 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.6868, allocations: 25.7 kB / 0.7877 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.877e-05/0.6868, allocations: 92.83 kB / 0.7878 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.6868, allocations: 19.22 kB / 0.7878 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-05/0.6869, allocations: 31.42 kB / 0.7878 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.025e-05/0.687, allocations: 322 kB / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.6871, allocations: 29.23 kB / 0.7882 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.6873, allocations: 73.72 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.6875, allocations: 109.4 kB / 0.7883 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.6875, allocations: 0 / 0.7883 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003011/0.6878, allocations: 131.9 kB / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.6878, allocations: 6.781 kB / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.6879, allocations: 0.5938 kB / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.6879, allocations: 5 kB / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.688, allocations: 17.75 kB / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.688, allocations: 10.2 kB / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.699e-05/0.6881, allocations: 8.875 kB / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.6882, allocations: 8.625 kB / 0.7885 GB, free: 48.38 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.318e-05/0.6882, allocations: 125.2 kB / 0.7886 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.6883, allocations: 5.938 kB / 0.7886 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/0.6883, allocations: 8.312 kB / 0.7887 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6883, allocations: 6.75 kB / 0.7887 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6883, allocations: 0.5 kB / 0.7887 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.6883, allocations: 3.922 kB / 0.7887 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004203/0.6888, allocations: 372.5 kB / 0.789 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6888, allocations: 0.875 kB / 0.789 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.057e-05/0.6888, allocations: 11.61 kB / 0.789 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.6888, allocations: 3.062 kB / 0.789 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.6889, allocations: 2.969 kB / 0.789 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.6889, allocations: 0 / 0.789 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6889, allocations: 0 / 0.789 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.6891, allocations: 209 kB / 0.7892 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.327e-05/0.6892, allocations: 83.23 kB / 0.7893 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.6892, allocations: 7.188 kB / 0.7893 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.049e-05/0.6893, allocations: 6.469 kB / 0.7893 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.6893, allocations: 5.484 kB / 0.7893 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.6893, allocations: 2.625 kB / 0.7893 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.824e-05/0.6894, allocations: 98.23 kB / 0.7894 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6894, allocations: 1.531 kB / 0.7894 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002512/0.6896, allocations: 12.97 kB / 0.7894 GB, free: 47.65 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.0001641/0.6898, allocations: 112.2 kB / 0.7896 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002836/0.6901, allocations: 87.2 kB / 0.7896 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6901, allocations: 0 / 0.7896 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.6902, allocations: 30.17 kB / 0.7897 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.6905, allocations: 16.42 kB / 0.7897 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.6909, allocations: 183 kB / 0.7899 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.691, allocations: 0.6924 MB / 0.7905 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.6911, allocations: 16.44 kB / 0.7905 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of SimCode: time 1.723e-06/0.6911, allocations: 1.125 kB / 0.7905 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of Templates: time 0.002591/0.6937, allocations: 1.045 MB / 0.7916 GB, free: 46.69 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)