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.001284/0.001285, allocations: 116.9 kB / 16.38 MB, free: 6.004 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.001341/0.001341, allocations: 189.2 kB / 17.3 MB, free: 5.617 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.456/1.456, 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.87/1.87, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001474/0.001474, allocations: 67.91 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2557, allocations: 114.6 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.00253/0.2583, allocations: 0.7596 MB / 0.7856 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.2599, allocations: 1.063 MB / 0.7866 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.31e-05/0.2599, allocations: 0 / 0.7866 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.416e-05/0.26, allocations: 11.86 kB / 0.7866 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.441e-05/0.2601, allocations: 11.92 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.2604, allocations: 51.83 kB / 0.7867 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.2606, allocations: 71.77 kB / 0.7867 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.2607, allocations: 20.19 kB / 0.7868 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.2608, allocations: 31.86 kB / 0.7868 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.934e-05/0.2609, allocations: 35.83 kB / 0.7868 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.2609, allocations: 8 kB / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.876e-05/0.261, allocations: 19.98 kB / 0.7869 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.338e-05/0.261, allocations: 11.92 kB / 0.7869 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.935e-05/0.2611, allocations: 31.86 kB / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.2612, allocations: 75.75 kB / 0.787 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2612, allocations: 0 / 0.787 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2612, allocations: 0 / 0.787 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.2613, allocations: 4 kB / 0.787 GB, free: 0.9141 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.0005783/0.2618, allocations: 383.2 kB / 0.7873 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.2619, allocations: 8.031 kB / 0.7873 GB, free: 496 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.2619, allocations: 8.844 kB / 0.7874 GB, free: 488 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.2621, allocations: 180.2 kB / 0.7875 GB, free: 268 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.2621, allocations: 8.375 kB / 0.7875 GB, free: 260 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.2621, allocations: 4.375 kB / 0.7875 GB, free: 256 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.2623, allocations: 74.16 kB / 0.7876 GB, free: 176 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.2624, allocations: 3.938 kB / 0.7876 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.2624, allocations: 7.938 kB / 0.7876 GB, free: 164 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2624, allocations: 0 / 0.7876 GB, free: 164 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.2626, allocations: 47.89 kB / 0.7877 GB, free: 116 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4645/0.7271, allocations: 312.7 kB / 0.788 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.7273, allocations: 58.66 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.481e-05/0.7274, allocations: 35.25 kB / 0.7881 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/0.7274, allocations: 2.766 kB / 0.7881 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/0.7277, allocations: 77.02 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.155e-06/0.7277, allocations: 2.625 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0004253/0.7281, allocations: 130.8 kB / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.7282, allocations: 54.38 kB / 0.7883 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.328e-05/0.7283, allocations: 125.2 kB / 0.7884 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.7283, allocations: 28.17 kB / 0.7885 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.7284, allocations: 93.83 kB / 0.7885 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.7284, allocations: 14.23 kB / 0.7886 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.7284, allocations: 30.41 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.677e-05/0.7285, allocations: 319.5 kB / 0.7889 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.7286, allocations: 31.5 kB / 0.7889 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.7287, allocations: 76.55 kB / 0.789 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.7289, allocations: 109.2 kB / 0.7891 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.729, allocations: 0 / 0.7891 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002802/0.7292, allocations: 136.1 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.7293, allocations: 6.281 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.7293, allocations: 5.719 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.7293, allocations: 2.625 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.7294, allocations: 15.92 kB / 0.7893 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.7294, allocations: 7.594 kB / 0.7893 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.285e-05/0.7295, allocations: 15.73 kB / 0.7893 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.7296, allocations: 6.188 kB / 0.7893 GB, free: 47.86 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 6.917e-05/0.7296, allocations: 122.6 kB / 0.7894 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.7297, allocations: 7.719 kB / 0.7894 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.7297, allocations: 7.5 kB / 0.7894 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.7297, allocations: 1.906 kB / 0.7894 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.7297, allocations: 2.5 kB / 0.7894 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.7297, allocations: 0 / 0.7894 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003867/0.7301, allocations: 383.4 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.7301, allocations: 0.5625 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.023e-05/0.7302, allocations: 8.641 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.7302, allocations: 0.5938 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.7302, allocations: 3.594 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.7302, allocations: 0 / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7302, allocations: 1 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.7305, allocations: 211.6 kB / 0.79 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.7305, allocations: 82.47 kB / 0.7901 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.7305, allocations: 3.562 kB / 0.7901 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.795e-05/0.7306, allocations: 10.16 kB / 0.7901 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.7307, allocations: 6.453 kB / 0.7901 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.7307, allocations: 3.875 kB / 0.7901 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.885e-05/0.7307, allocations: 100 kB / 0.7902 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.242e-06/0.7307, allocations: 1.594 kB / 0.7902 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002529/0.731, allocations: 20.81 kB / 0.7902 GB, free: 47.12 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.0001648/0.7312, allocations: 112.3 kB / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002968/0.7315, allocations: 77.42 kB / 0.7904 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.7315, allocations: 0 / 0.7904 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.7316, allocations: 42.03 kB / 0.7904 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.7319, allocations: 12.03 kB / 0.7905 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000459/0.7324, allocations: 178.1 kB / 0.7906 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/0.7326, allocations: 0.6866 MB / 0.7913 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.7326, allocations: 17.56 kB / 0.7913 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.7326, allocations: 0.7656 kB / 0.7913 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.002924/0.7356, allocations: 1.038 MB / 0.7923 GB, free: 46.16 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)