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.0007864/0.0007864, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009736/0.0009738, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.734/1.734, allocations: 292.7 MB / 0.5499 GB, free: 14.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.0005302/0.0005303, allocations: 14.03 kB / 0.6737 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2235, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.0008458/0.2244, allocations: 481.3 kB / 0.7878 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.2256, allocations: 1.041 MB / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.931e-05/0.2257, allocations: 7.938 kB / 0.7888 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.2257, allocations: 3.938 kB / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.349e-05/0.2258, allocations: 19.91 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.226, allocations: 38.66 kB / 0.7889 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.566e-05/0.2261, allocations: 63.78 kB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.501e-05/0.2262, allocations: 16.17 kB / 0.7889 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.093e-05/0.2263, allocations: 23.92 kB / 0.789 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.2264, allocations: 27.89 kB / 0.789 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.2264, allocations: 4 kB / 0.789 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.862e-05/0.2265, allocations: 19.92 kB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.2265, allocations: 12 kB / 0.789 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.8e-05/0.2265, allocations: 37.62 kB / 0.7891 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.53e-05/0.2266, allocations: 55.88 kB / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2266, allocations: 0 / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2267, allocations: 0 / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.2267, allocations: 0 / 0.7891 GB, free: 10.09 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.0005067/0.2272, allocations: 371.4 kB / 0.7895 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.2272, allocations: 12.03 kB / 0.7895 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.2273, allocations: 7.906 kB / 0.7895 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.2274, allocations: 171 kB / 0.7896 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.2274, allocations: 0 / 0.7896 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.2274, allocations: 8 kB / 0.7897 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.2276, allocations: 73.59 kB / 0.7897 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.2276, allocations: 0 / 0.7897 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.2276, allocations: 4 kB / 0.7897 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2276, allocations: 4 kB / 0.7897 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.2278, allocations: 55.89 kB / 0.7898 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005736/0.2284, allocations: 340.6 kB / 0.7901 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.2286, allocations: 58.5 kB / 0.7902 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.718e-05/0.2287, allocations: 40.95 kB / 0.7902 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.2287, allocations: 7.984 kB / 0.7902 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001853/0.2289, allocations: 79.38 kB / 0.7903 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 3.025e-06/0.2289, allocations: 4 kB / 0.7903 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003795/0.2293, allocations: 145.6 kB / 0.7904 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.2293, allocations: 51.41 kB / 0.7905 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.401e-05/0.2294, allocations: 129.7 kB / 0.7906 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.2295, allocations: 25.7 kB / 0.7906 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.2295, allocations: 100 kB / 0.7907 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.2295, allocations: 15.83 kB / 0.7907 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.2295, allocations: 4 kB / 0.7907 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.372e-05/0.2296, allocations: 314.8 kB / 0.791 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.2297, allocations: 35.98 kB / 0.7911 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.2299, allocations: 85.91 kB / 0.7912 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.23, allocations: 39.98 kB / 0.7912 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.23, allocations: 0 / 0.7912 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002764/0.2303, allocations: 141.4 kB / 0.7913 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.2303, allocations: 8 kB / 0.7913 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2303, allocations: 0 / 0.7913 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2303, allocations: 4 kB / 0.7913 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.2304, allocations: 23.91 kB / 0.7914 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2305, allocations: 8.531 kB / 0.7914 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.755e-05/0.2305, allocations: 15.86 kB / 0.7914 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.2306, allocations: 7.984 kB / 0.7914 GB, free: 7.508 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 ($PRE.triggeredSampler1.y,triggeredSampler1.y,$PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y,$whenCondition2,samTri1.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.304e-05/0.2307, allocations: 117.8 kB / 0.7915 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.2307, allocations: 7.906 kB / 0.7915 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.263e-05/0.2307, allocations: 16.25 kB / 0.7915 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2307, allocations: 0 / 0.7915 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2307, allocations: 0 / 0.7915 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2307, allocations: 4 kB / 0.7915 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004131/0.2311, allocations: 390.4 kB / 0.7919 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2312, allocations: 0 / 0.7919 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.487e-05/0.2312, allocations: 19.92 kB / 0.7919 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2312, allocations: 0 / 0.7919 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.2312, allocations: 4 kB / 0.7919 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2312, allocations: 0 / 0.7919 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2313, allocations: 3.953 kB / 0.7919 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.2315, allocations: 211.4 kB / 0.7921 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.269e-05/0.2316, allocations: 85.02 kB / 0.7922 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.2316, allocations: 3.938 kB / 0.7922 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-05/0.2317, allocations: 15.98 kB / 0.7922 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.2317, allocations: 3.953 kB / 0.7922 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.2317, allocations: 7.984 kB / 0.7922 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.934e-05/0.2318, allocations: 91.28 kB / 0.7923 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2318, allocations: 0 / 0.7923 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002449/0.232, allocations: 23.98 kB / 0.7924 GB, free: 6.422 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001342/0.2322, allocations: 107.2 kB / 0.7925 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002494/0.2324, allocations: 91.94 kB / 0.7925 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2324, allocations: 0 / 0.7925 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.2325, allocations: 31.98 kB / 0.7926 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.2328, allocations: 11.98 kB / 0.7926 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.2331, allocations: 185.6 kB / 0.7928 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.2333, allocations: 0.6848 MB / 0.7934 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.581e-05/0.2334, allocations: 11.98 kB / 0.7934 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.333e-05/0.2334, allocations: 15.44 kB / 0.7935 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2334, allocations: 0 / 0.7935 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of Templates: time 0.002952/0.2364, allocations: 0.8277 MB / 0.7943 GB, free: 4.434 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: