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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002131/0.002131, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.35/1.35, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.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.648/1.648, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001303/0.001303, allocations: 75.8 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1833, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001855/0.1852, allocations: 0.7744 MB / 0.7843 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.1865, allocations: 1.067 MB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.783e-05/0.1866, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.1866, allocations: 3.938 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.959e-05/0.1867, allocations: 15.86 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.1869, allocations: 51.83 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.177e-05/0.187, allocations: 79.77 kB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.303e-05/0.1871, allocations: 16.17 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.815e-05/0.1872, allocations: 27.92 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.593e-05/0.1873, allocations: 35.83 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.1873, allocations: 4 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.112e-05/0.1873, allocations: 23.98 kB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.1874, allocations: 8 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.799e-05/0.1874, allocations: 31.8 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.1875, allocations: 87.97 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.1876, allocations: 0 / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1876, allocations: 0 / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.1876, allocations: 3.938 kB / 0.7857 GB, free: 11.11 MB / 0.6075 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.0004637/0.188, allocations: 371.3 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.1881, allocations: 15.97 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.072e-05/0.1881, allocations: 34.75 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.1881, allocations: 8.844 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.1883, allocations: 180.2 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1883, allocations: 8.375 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.1883, allocations: 8.375 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.1885, allocations: 65.97 kB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.1885, allocations: 7.938 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.1885, allocations: 0 / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1885, allocations: 0 / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.1887, allocations: 43.95 kB / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005835/0.1893, allocations: 321.8 kB / 0.7867 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.1894, allocations: 58.58 kB / 0.7867 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.439e-05/0.1895, allocations: 28.97 kB / 0.7868 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.1896, allocations: 7.984 kB / 0.7868 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.1898, allocations: 71.39 kB / 0.7869 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.1898, allocations: 0 / 0.7869 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003785/0.1902, allocations: 133.5 kB / 0.787 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.1902, allocations: 59.41 kB / 0.787 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.1903, allocations: 125.8 kB / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1904, allocations: 25.7 kB / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.891e-05/0.1904, allocations: 92.12 kB / 0.7873 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.1905, allocations: 19.75 kB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.1905, allocations: 33.64 kB / 0.7873 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.855e-05/0.1906, allocations: 322.8 kB / 0.7876 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.1907, allocations: 27.97 kB / 0.7877 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.1909, allocations: 73.98 kB / 0.7877 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.1911, allocations: 109.8 kB / 0.7878 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1911, allocations: 0 / 0.7878 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002941/0.1914, allocations: 133.4 kB / 0.788 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1914, allocations: 8 kB / 0.788 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1914, allocations: 0 / 0.788 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1915, allocations: 4 kB / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1916, allocations: 27.89 kB / 0.788 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1916, allocations: 3.938 kB / 0.788 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.059e-05/0.1917, allocations: 11.91 kB / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.1917, allocations: 12.2 kB / 0.788 GB, free: 8.43 MB / 0.6075 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.727e-05/0.1918, allocations: 125.8 kB / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.1918, allocations: 4 kB / 0.7881 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.1919, allocations: 8.375 kB / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1919, allocations: 4 kB / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1919, allocations: 0 / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1919, allocations: 0 / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.1923, allocations: 382.2 kB / 0.7885 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.1923, allocations: 0 / 0.7885 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.148e-05/0.1924, allocations: 11.98 kB / 0.7885 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1924, allocations: 0 / 0.7885 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.1924, allocations: 0 / 0.7885 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.1924, allocations: 7.875 kB / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1924, allocations: 0 / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.1927, allocations: 207.8 kB / 0.7887 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.1927, allocations: 81.02 kB / 0.7888 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.1928, allocations: 4 kB / 0.7888 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.358e-05/0.1928, allocations: 19.86 kB / 0.7888 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.1929, allocations: 0 / 0.7888 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.1929, allocations: 4 kB / 0.7888 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.124e-05/0.1929, allocations: 91.27 kB / 0.7889 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.193, allocations: 0 / 0.7889 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000244/0.1932, allocations: 20 kB / 0.7889 GB, free: 7.379 MB / 0.6075 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.0005549/0.1938, allocations: 0.7436 MB / 0.7897 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002557/0.194, allocations: 79.89 kB / 0.7897 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.194, allocations: 0 / 0.7897 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.1942, allocations: 35.91 kB / 0.7898 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.1944, allocations: 22.58 kB / 0.7898 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.1961, allocations: 1.51 MB / 0.7913 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.1964, allocations: 0.6955 MB / 0.792 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.449e-05/0.1964, allocations: 7.984 kB / 0.792 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.1964, allocations: 19.44 kB / 0.792 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.1965, allocations: 3.938 kB / 0.792 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.2146, allocations: 2.076 MB / 0.794 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.405/8.62, allocations: 4.422 kB / 0.794 GB, free: 2.172 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime_fmu --startTime=1 --stopTime=6 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)