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.001313/0.001313, allocations: 101.4 kB / 15.7 MB, free: 28 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.001593/0.001593, allocations: 200.6 kB / 16.64 MB, free: 6.43 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.608/1.608, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.821/1.821, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001456/0.001456, allocations: 74.17 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3076, allocations: 114.6 MB / 0.7842 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002582/0.3103, allocations: 0.7593 MB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.312, allocations: 1.067 MB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.525e-05/0.3122, allocations: 0 / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.732e-05/0.3122, allocations: 3.938 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.636e-05/0.3123, allocations: 11.88 kB / 0.786 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.3128, allocations: 54.94 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.313, allocations: 71.78 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.3132, allocations: 20.17 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.3133, allocations: 31.91 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.852e-05/0.3134, allocations: 31.84 kB / 0.7862 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.3134, allocations: 11.94 kB / 0.7862 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.069e-05/0.3135, allocations: 19.98 kB / 0.7862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.549e-05/0.3135, allocations: 19.92 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.416e-05/0.3136, allocations: 27.86 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.3138, allocations: 79.73 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3138, allocations: 0 / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3138, allocations: 0 / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.3138, allocations: 4 kB / 0.7863 GB, free: 10.5 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.0006518/0.3145, allocations: 375.2 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3145, allocations: 8.031 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.3146, allocations: 12.84 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.3147, allocations: 180.2 kB / 0.7869 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3148, allocations: 8.375 kB / 0.7869 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.3148, allocations: 4.375 kB / 0.7869 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.315, allocations: 74.16 kB / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3151, allocations: 7.875 kB / 0.787 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.3151, allocations: 4 kB / 0.787 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3151, allocations: 0 / 0.787 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.3153, allocations: 39.95 kB / 0.787 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006823/0.316, allocations: 325.7 kB / 0.7873 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.3161, allocations: 58.55 kB / 0.7874 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.538e-05/0.3162, allocations: 24.97 kB / 0.7874 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.3163, allocations: 3.984 kB / 0.7874 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/0.3165, allocations: 83.41 kB / 0.7875 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.3165, allocations: 0 / 0.7875 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004489/0.317, allocations: 129.5 kB / 0.7876 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.317, allocations: 51.41 kB / 0.7876 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.3171, allocations: 121.8 kB / 0.7878 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.3172, allocations: 29.7 kB / 0.7878 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.087e-05/0.3173, allocations: 88.14 kB / 0.7879 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.3173, allocations: 31.72 kB / 0.7879 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.622e-05/0.3173, allocations: 25.7 kB / 0.7879 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3175, allocations: 322.8 kB / 0.7882 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.3176, allocations: 35.91 kB / 0.7883 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.3178, allocations: 73.98 kB / 0.7883 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.318, allocations: 105.9 kB / 0.7884 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.318, allocations: 0 / 0.7884 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003041/0.3184, allocations: 129.4 kB / 0.7886 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.3184, allocations: 8.938 kB / 0.7886 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.3184, allocations: 4.219 kB / 0.7886 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/0.3184, allocations: 7.984 kB / 0.7886 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.3186, allocations: 23.91 kB / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.669e-06/0.3186, allocations: 0 / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.954e-05/0.3187, allocations: 15.91 kB / 0.7886 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.3187, allocations: 7.984 kB / 0.7886 GB, free: 7.863 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 0.0001149/0.3189, allocations: 122.4 kB / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.3189, allocations: 4 kB / 0.7888 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.809e-05/0.3189, allocations: 12.38 kB / 0.7888 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/0.3189, allocations: 4 kB / 0.7888 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.319, allocations: 0 / 0.7888 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.319, allocations: 0 / 0.7888 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005398/0.3195, allocations: 374.3 kB / 0.7891 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3195, allocations: 3.938 kB / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.264e-05/0.3196, allocations: 11.98 kB / 0.7891 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3196, allocations: 0 / 0.7891 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3196, allocations: 8 kB / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.3196, allocations: 7.938 kB / 0.7892 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3196, allocations: 4 kB / 0.7892 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.3199, allocations: 203.3 kB / 0.7894 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.374e-05/0.32, allocations: 77.11 kB / 0.7894 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.32, allocations: 4 kB / 0.7894 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-05/0.3201, allocations: 15.92 kB / 0.7894 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.3202, allocations: 0 / 0.7894 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.3202, allocations: 8 kB / 0.7895 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.569e-05/0.3203, allocations: 91.92 kB / 0.7895 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3203, allocations: 0 / 0.7895 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002597/0.3205, allocations: 19.91 kB / 0.7896 GB, free: 6.812 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.0002125/0.3207, allocations: 111.2 kB / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002941/0.321, allocations: 80.34 kB / 0.7897 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3211, allocations: 0 / 0.7897 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.3212, allocations: 31.92 kB / 0.7898 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.3215, allocations: 21.56 kB / 0.7898 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004589/0.322, allocations: 166.6 kB / 0.79 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.3223, allocations: 0.6923 MB / 0.7906 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.289e-05/0.3223, allocations: 4 kB / 0.7906 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.419e-05/0.3224, allocations: 11.44 kB / 0.7906 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.3224, allocations: 0 / 0.7906 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of Templates: time 0.00415/0.3265, allocations: 0.9739 MB / 0.7916 GB, free: 4.715 MB / 0.6075 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)