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.001351/0.001351, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001888/0.001888, allocations: 190.7 kB / 16.25 MB, free: 6.629 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.764/1.764, allocations: 205.1 MB / 222.1 MB, free: 4.676 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.894/1.894, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001571/0.001572, allocations: 71.69 kB / 0.671 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2885, allocations: 114.5 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.003153/0.2917, allocations: 0.8204 MB / 0.7837 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002454/0.2942, allocations: 1.072 MB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.017e-05/0.2943, allocations: 4 kB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.841e-05/0.2944, allocations: 7.922 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.2946, allocations: 11.92 kB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004904/0.2951, allocations: 43.89 kB / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.2953, allocations: 71.78 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.2955, allocations: 16.17 kB / 0.7849 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.2956, allocations: 27.92 kB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.2957, allocations: 39.83 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.2958, allocations: 8 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.2959, allocations: 23.92 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.393e-05/0.2959, allocations: 11.98 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.296, allocations: 31.8 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.2962, allocations: 84.02 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.2962, allocations: 0 / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.709e-06/0.2962, allocations: 0 / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.2963, allocations: 0 / 0.7851 GB, free: 11.59 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.0009038/0.2972, allocations: 387.2 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.2972, allocations: 8.031 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.168e-05/0.2973, allocations: 8.844 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.2975, allocations: 172.2 kB / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.2975, allocations: 4.375 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.2976, allocations: 4.375 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.2978, allocations: 74.09 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.2979, allocations: 3.938 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.2979, allocations: 8 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.2979, allocations: 4 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.2981, allocations: 43.95 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008621/0.299, allocations: 316.6 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.2992, allocations: 62.55 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.407e-05/0.2993, allocations: 28.95 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.2993, allocations: 0 / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003016/0.2996, allocations: 79.41 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.2996, allocations: 0 / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004669/0.3001, allocations: 137.5 kB / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.3002, allocations: 51.41 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.3003, allocations: 117.8 kB / 0.7865 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.3003, allocations: 29.7 kB / 0.7866 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.912e-05/0.3004, allocations: 92.12 kB / 0.7867 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.3005, allocations: 19.75 kB / 0.7867 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.3005, allocations: 29.64 kB / 0.7867 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3007, allocations: 326.8 kB / 0.787 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.3008, allocations: 27.98 kB / 0.787 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.301, allocations: 77.92 kB / 0.7871 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.3012, allocations: 105.9 kB / 0.7872 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3012, allocations: 4 kB / 0.7872 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003198/0.3016, allocations: 125.4 kB / 0.7873 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.3016, allocations: 11.92 kB / 0.7874 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3016, allocations: 4 kB / 0.7874 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3016, allocations: 0 / 0.7874 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.3018, allocations: 28.2 kB / 0.7874 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.3018, allocations: 0 / 0.7874 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.485e-05/0.3019, allocations: 15.89 kB / 0.7874 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.3019, allocations: 4 kB / 0.7874 GB, free: 8.957 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.0001383/0.302, allocations: 121.7 kB / 0.7875 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.3021, allocations: 4 kB / 0.7875 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.574e-05/0.3021, allocations: 8.375 kB / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3021, allocations: 0 / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3021, allocations: 4 kB / 0.7875 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3021, allocations: 7.984 kB / 0.7875 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005605/0.3027, allocations: 374.3 kB / 0.7879 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3027, allocations: 0 / 0.7879 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.8e-05/0.3028, allocations: 19.92 kB / 0.7879 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3028, allocations: 0 / 0.7879 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.3028, allocations: 4 kB / 0.7879 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3028, allocations: 7.938 kB / 0.7879 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3028, allocations: 0 / 0.7879 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.3031, allocations: 207.4 kB / 0.7881 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.3032, allocations: 77.11 kB / 0.7882 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.3032, allocations: 4 kB / 0.7882 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.3033, allocations: 11.86 kB / 0.7882 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.3034, allocations: 15.98 kB / 0.7882 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.3034, allocations: 7.938 kB / 0.7882 GB, free: 8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.648e-05/0.3035, allocations: 91.92 kB / 0.7883 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3035, allocations: 0 / 0.7883 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002583/0.3037, allocations: 15.91 kB / 0.7883 GB, free: 7.895 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.0002239/0.304, allocations: 107.2 kB / 0.7884 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003306/0.3043, allocations: 80.41 kB / 0.7885 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3043, allocations: 0 / 0.7885 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.3044, allocations: 35.92 kB / 0.7886 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.3047, allocations: 15.39 kB / 0.7886 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.3052, allocations: 182.5 kB / 0.7887 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.3055, allocations: 0.6885 MB / 0.7894 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.634e-05/0.3056, allocations: 4 kB / 0.7894 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.3056, allocations: 11.44 kB / 0.7894 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of SimCode: time 6.51e-07/0.3056, allocations: 0 / 0.7894 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of Templates: time 0.003732/0.3094, allocations: 0.9267 MB / 0.7903 GB, free: 5.836 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)