Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001398, allocations: 112.2 kB / 16.37 MB, free: 6 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.001521/0.001521, allocations: 191.9 kB / 17.31 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.444/1.444, 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.819/1.819, allocations: 292.3 MB / 0.5496 GB, free: 17.59 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.001484/0.001484, allocations: 75.83 kB / 0.673 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2552, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002206/0.2574, allocations: 0.7661 MB / 0.7856 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.2589, allocations: 1.063 MB / 0.7866 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.783e-05/0.2589, allocations: 0 / 0.7866 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.688e-05/0.259, allocations: 7.875 kB / 0.7866 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.451e-05/0.2591, allocations: 11.86 kB / 0.7866 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.2594, allocations: 55.88 kB / 0.7867 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.2596, allocations: 71.72 kB / 0.7868 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.2597, allocations: 24.17 kB / 0.7868 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.443e-05/0.2598, allocations: 27.92 kB / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.534e-05/0.2599, allocations: 35.83 kB / 0.7868 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.2599, allocations: 4 kB / 0.7868 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.659e-05/0.26, allocations: 19.98 kB / 0.7869 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.228e-05/0.26, allocations: 15.92 kB / 0.7869 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.461e-05/0.2601, allocations: 31.86 kB / 0.7869 GB, free: 1 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.2602, allocations: 79.73 kB / 0.787 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2602, allocations: 0 / 0.787 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2602, allocations: 0 / 0.787 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.2603, allocations: 4 kB / 0.787 GB, free: 0.918 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.0005895/0.2608, allocations: 375.2 kB / 0.7873 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.2609, allocations: 12.03 kB / 0.7874 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.2609, allocations: 12.78 kB / 0.7874 GB, free: 492 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.2611, allocations: 180.2 kB / 0.7875 GB, free: 272 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.2611, allocations: 384 / 0.7875 GB, free: 272 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.2611, allocations: 8.375 kB / 0.7875 GB, free: 264 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.2613, allocations: 70.22 kB / 0.7876 GB, free: 188 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.2614, allocations: 3.938 kB / 0.7876 GB, free: 184 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.2614, allocations: 3.938 kB / 0.7876 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.2614, allocations: 4 kB / 0.7876 GB, free: 176 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.2616, allocations: 47.89 kB / 0.7877 GB, free: 128 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4695/0.731, allocations: 307.7 kB / 0.788 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.7313, allocations: 55.02 kB / 0.788 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.421e-05/0.7314, allocations: 35.61 kB / 0.7881 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.7314, allocations: 9.812 kB / 0.7881 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.7317, allocations: 83.05 kB / 0.7881 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.896e-06/0.7317, allocations: 0 / 0.7881 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0004257/0.7321, allocations: 127 kB / 0.7883 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.7322, allocations: 52.91 kB / 0.7883 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.186e-05/0.7323, allocations: 123.3 kB / 0.7884 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.7323, allocations: 25.7 kB / 0.7885 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.7323, allocations: 102.7 kB / 0.7886 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.7324, allocations: 15.02 kB / 0.7886 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.7324, allocations: 32.92 kB / 0.7886 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.49e-05/0.7325, allocations: 314.6 kB / 0.7889 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.7326, allocations: 35.14 kB / 0.7889 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.7327, allocations: 69.77 kB / 0.789 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.7329, allocations: 109.8 kB / 0.7891 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.733, allocations: 0 / 0.7891 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002807/0.7332, allocations: 137.6 kB / 0.7892 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.7333, allocations: 7.625 kB / 0.7892 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.7333, allocations: 7.094 kB / 0.7892 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.7333, allocations: 0 / 0.7892 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.7334, allocations: 21.33 kB / 0.7893 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.7335, allocations: 5.25 kB / 0.7893 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.024e-05/0.7335, allocations: 9.641 kB / 0.7893 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.7336, allocations: 7.094 kB / 0.7893 GB, free: 47.97 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 7.37e-05/0.7336, allocations: 126.2 kB / 0.7894 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.7337, allocations: 7.188 kB / 0.7894 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.59e-05/0.7337, allocations: 10.56 kB / 0.7894 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.7337, allocations: 8.688 kB / 0.7894 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.7337, allocations: 0 / 0.7894 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7337, allocations: 0 / 0.7894 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003967/0.7341, allocations: 368.8 kB / 0.7898 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7342, allocations: 2.625 kB / 0.7898 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.239e-05/0.7342, allocations: 11.33 kB / 0.7898 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.7342, allocations: 3.125 kB / 0.7898 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.7342, allocations: 4 kB / 0.7898 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.7342, allocations: 7.188 kB / 0.7898 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7343, allocations: 1.125 kB / 0.7898 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.7345, allocations: 197.7 kB / 0.79 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.698e-05/0.7345, allocations: 86.78 kB / 0.7901 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.7346, allocations: 0 / 0.7901 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.854e-05/0.7346, allocations: 7.891 kB / 0.7901 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.7347, allocations: 9.344 kB / 0.7901 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.7347, allocations: 3.312 kB / 0.7901 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.332e-05/0.7348, allocations: 99.61 kB / 0.7902 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7348, allocations: 0 / 0.7902 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002567/0.735, allocations: 15.66 kB / 0.7902 GB, free: 47.24 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.0001695/0.7352, allocations: 109.8 kB / 0.7903 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.7355, allocations: 84.22 kB / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7355, allocations: 0.5625 kB / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.7356, allocations: 37.67 kB / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.7359, allocations: 14.2 kB / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/0.7363, allocations: 183.2 kB / 0.7906 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.7365, allocations: 0.6896 MB / 0.7913 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.7365, allocations: 17.83 kB / 0.7913 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.7365, allocations: 0.7656 kB / 0.7913 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of Templates: time 0.002896/0.7394, allocations: 1.04 MB / 0.7923 GB, free: 46.28 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1)