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.001221/0.001221, allocations: 101.6 kB / 16.27 MB, free: 6.418 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.001136/0.001136, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.511/1.511, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.812/1.812, allocations: 292.3 MB / 0.5495 GB, free: 17.46 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.001438/0.001438, allocations: 71.89 kB / 0.6722 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.245, allocations: 114.6 MB / 0.7841 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002219/0.2473, allocations: 0.7525 MB / 0.7848 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.2487, allocations: 1.07 MB / 0.7858 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.952e-05/0.2487, allocations: 4 kB / 0.7858 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.416e-05/0.2488, allocations: 7.875 kB / 0.7859 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.405e-05/0.2489, allocations: 7.938 kB / 0.7859 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.2492, allocations: 55.81 kB / 0.7859 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.2493, allocations: 75.77 kB / 0.786 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.2494, allocations: 12.19 kB / 0.786 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.355e-05/0.2495, allocations: 31.86 kB / 0.786 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.537e-05/0.2495, allocations: 35.84 kB / 0.7861 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.2496, allocations: 15.98 kB / 0.7861 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.643e-05/0.2496, allocations: 15.98 kB / 0.7861 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.2497, allocations: 15.98 kB / 0.7861 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.2497, allocations: 27.8 kB / 0.7861 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.2499, allocations: 72.09 kB / 0.7862 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2499, allocations: 7.875 kB / 0.7862 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2499, allocations: 0 / 0.7862 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.2499, allocations: 0 / 0.7862 GB, free: 1.602 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.0005542/0.2505, allocations: 387.2 kB / 0.7866 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.2505, allocations: 12.03 kB / 0.7866 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.2506, allocations: 8.844 kB / 0.7866 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.2507, allocations: 172.2 kB / 0.7868 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.2507, allocations: 12.31 kB / 0.7868 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.2508, allocations: 4.375 kB / 0.7868 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.251, allocations: 66.22 kB / 0.7868 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.251, allocations: 3.938 kB / 0.7868 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.251, allocations: 4 kB / 0.7869 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.251, allocations: 0 / 0.7869 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.2512, allocations: 47.95 kB / 0.7869 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000621/0.2518, allocations: 324.7 kB / 0.7872 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.252, allocations: 54.56 kB / 0.7873 GB, free: 388 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.666e-05/0.2521, allocations: 28.95 kB / 0.7873 GB, free: 356 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.2521, allocations: 4 kB / 0.7873 GB, free: 352 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.2524, allocations: 87.31 kB / 0.7874 GB, free: 252 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.522e-06/0.2524, allocations: 0 / 0.7874 GB, free: 252 kB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.000419/0.2528, allocations: 129.6 kB / 0.7875 GB, free: 116 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.2529, allocations: 51.41 kB / 0.7875 GB, free: 52 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3592/0.612, allocations: 119.9 kB / 0.7877 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.6121, allocations: 29.36 kB / 0.7877 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.382e-05/0.6122, allocations: 93.16 kB / 0.7878 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.6122, allocations: 19.16 kB / 0.7878 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/0.6123, allocations: 29.73 kB / 0.7878 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.084e-05/0.6123, allocations: 320.2 kB / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.6125, allocations: 36.86 kB / 0.7882 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.6126, allocations: 78.56 kB / 0.7882 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.6128, allocations: 105.9 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.6128, allocations: 0 / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003116/0.6131, allocations: 127.7 kB / 0.7885 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.6132, allocations: 7.531 kB / 0.7885 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.6132, allocations: 3 kB / 0.7885 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.6132, allocations: 3.922 kB / 0.7885 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.6133, allocations: 23.34 kB / 0.7885 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.6133, allocations: 4.656 kB / 0.7885 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.567e-05/0.6134, allocations: 11.67 kB / 0.7885 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.6135, allocations: 5.625 kB / 0.7885 GB, free: 48.34 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.092e-05/0.6135, allocations: 126.3 kB / 0.7886 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.6136, allocations: 6.062 kB / 0.7886 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.6136, allocations: 10.62 kB / 0.7887 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.6136, allocations: 7.672 kB / 0.7887 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.6136, allocations: 3.031 kB / 0.7887 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.6136, allocations: 0 / 0.7887 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000408/0.614, allocations: 375.9 kB / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6141, allocations: 2.625 kB / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.986e-05/0.6141, allocations: 8.688 kB / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.6141, allocations: 5.375 kB / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.6141, allocations: 4.031 kB / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.6141, allocations: 0 / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6142, allocations: 0 / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.6144, allocations: 207.4 kB / 0.7892 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.149e-05/0.6144, allocations: 83.64 kB / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.6144, allocations: 5.438 kB / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.6145, allocations: 9.75 kB / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.6146, allocations: 5.812 kB / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.6146, allocations: 0.5 kB / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.136e-05/0.6146, allocations: 96.23 kB / 0.7894 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6146, allocations: 2.438 kB / 0.7894 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002525/0.6149, allocations: 16.38 kB / 0.7895 GB, free: 47.62 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.0001469/0.615, allocations: 106.4 kB / 0.7896 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002678/0.6153, allocations: 84.83 kB / 0.7896 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.6153, allocations: 1.312 kB / 0.7896 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.6154, allocations: 30.77 kB / 0.7897 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.6157, allocations: 21.17 kB / 0.7897 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.6161, allocations: 188.4 kB / 0.7899 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.6162, allocations: 0.6882 MB / 0.7905 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/0.6162, allocations: 14.28 kB / 0.7906 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.6162, allocations: 0 / 0.7906 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of Templates: time 0.002675/0.6189, allocations: 1.043 MB / 0.7916 GB, free: 46.67 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)